// Copyright Epic Games, Inc. All Rights Reserved. using System.Collections.Generic; using System.Reflection; namespace EpicGames.BuildGraph { /// /// Information about the method bound to execute a node /// public class BgThunkDef { /// /// Method to call /// public MethodInfo Method { get; } /// /// Arguments to the method /// public IReadOnlyList Arguments { get; } /// /// Constructor /// public BgThunkDef(MethodInfo method, IReadOnlyList arguments) { Method = method; Arguments = arguments; } } /// /// Outputs from a thunk /// public class BgThunkOutputDef { /// /// The thunk definition /// public BgThunkDef Thunk { get; } /// /// Output index from the thunk /// public int Index { get; } /// /// Constructor /// /// /// public BgThunkOutputDef(BgThunkDef thunk, int index) { Thunk = thunk; Index = index; } } }