T ICustomWorkflowContext.GetArgumentValue <T>(InOutArgument <T> argument) { return(argument.Get(_context)); }
T ICustomWorkflowContext.GetArgumentValue <T>(InOutArgument <T> argument) => argument.Get(_context);
public static T Get <T>(this InOutArgument <T> arg, IExtendedWorkflowContext context) { return(arg.Get(context.CodeActivityContext)); }
/// <summary> /// Получение значения входного параметра. /// </summary> /// <typeparam name="T">Тип параметра.</typeparam> /// <param name="argument">Экземпляр класса <see cref="InOutArgument{T}"/>.</param> /// <param name="context">Контекст выполенения.</param> /// <returns>Метод возвращает значение указанного входного параметра.</returns> public static T Get <T>(this InOutArgument <T> argument, Context context) { return(argument.Get <T>(context.SourceActivityContext)); }