internal FlowPath(IFlowBuilder builder) { _transitions = builder.Transitions; _subscriptions = Enumerable.Repeat <IDisposable?>(null, _transitions.Length + 1).ToArray(); UpdateTracking(builder.Root, 0); }
internal FlowBuilderBuilder(IFlowBuilder builder, Func <object, IFlowChangeable> transition) { Root = builder.Root; var N = builder.Transitions.Length; Transitions = new Func <object, IFlowChangeable> [N + 1]; Array.Copy(builder.Transitions, Transitions, N); Transitions[N] = transition; }
internal FlowVarPath(IFlowBuilder builder) : base(builder) { }
public static IFlowBuilder Source <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>(this IFlowBuilder self, Func <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult> func) { self.SetSource(func); return(self); }
public static IFlowBuilder Set <T>(this IFlowBuilder self, T t) { self.SetConstant <T>(t); return(self); }
private IFlowBuilder Start(IFlowBuilder flow) { return(flow); }
public ExceptionToErrorMapping() { _builder = new StandardBuilder() .UseErrorType <TestingFilteringError>(); }
public static IFlowBuilder Then <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this IFlowBuilder self, Action <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> todo) { self.AddStep(todo); return(self); }
public static IFlowBuilder Then <T1, T2, T3, T4, T5, TResult>(this IFlowBuilder self, Func <T1, T2, T3, T4, T5, TResult> todo) { self.AddStep(todo); return(self); }
public static IFlowBuilder Then <T1, T2, T3, T4, T5, T6, T7>(this IFlowBuilder self, Action <T1, T2, T3, T4, T5, T6, T7> todo) { self.AddStep(todo); return(self); }
public static IFlowBuilder RunInParallel(this IFlowBuilder self) { self.Parallel = true; return(self); }
public static IFlowBuilder Then <T1, T2>(this IFlowBuilder self, Action <T1, T2> todo) { self.AddStep(todo); return(self); }
public static IFlowBuilder Container(this IFlowBuilder self, IContainer container) { self.SetContainer(container); return(self); }
internal FlowReadOnlyListPath(IFlowBuilder builder) : base(builder) { }
internal FlowListPath(IFlowBuilder builder) : base(builder) { }
public static IFlowBuilder Then <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>(this IFlowBuilder self, Func <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult> todo) { self.AddStep(todo); return(self); }
public Filtering() { _builder = new StandardBuilder().UseErrorType <TestingFilteringError>(); }
public static IFlowBuilder PackedThen <TR1, TR2>(this IFlowBuilder self, Func <(TR1, TR2)> todo)
public General() { _preDefined = new StandardBuilder() .UseErrorType <TestingFilteringError>(); }
public static IFlowBuilder Source <T1, T2, T3, TResult>(this IFlowBuilder self, Func <T1, T2, T3, TResult> func) { self.SetSource(func); return(self); }
public IFlowBuilder WhenReceived(IInputFilter filter, IOutputResponse response, IFlowBuilder flow = null) { return(this); }
internal FlowSourcePath(IFlowBuilder builder) : base(builder) { }