public static SequenceHelper <InvokeMethod> InvokeMethod(this SequenceHelper sequence, Delegate action) { Activity activity = Helpers.InvokeMethod(action); sequence.Activity(activity); return(new SequenceHelper <InvokeMethod>(sequence)); }
public static SequenceHelper SendReplay <T>(this SequenceHelper sequence, Func <ActivityContext, T> expression) { Activity activity = Helpers.SendReplay <T>(expression); sequence.Activity(activity); return(sequence); }
public static SequenceHelper Receive <T>(this SequenceHelper sequence, string operation, Variable <T> variable) { Activity activity = Helpers.Receive <T>(operation, variable); sequence.Activity(activity); return(sequence); }
public static SequenceHelper SendReplay <T>(this SequenceHelper sequence, Variable <T> variable) { Activity activity = Helpers.SendReplay <T>(variable); sequence.Activity(activity); return(sequence); }
public static SequenceHelper Assign <T>(this SequenceHelper sequence, Variable <T> variable, T value) { Activity activity = Helpers.Assign <T>(variable, value); sequence.Activity(activity); return(sequence); }