public Group(IDataflowFactory factory, IDataflowType <IGroupedDataflow <TKey, TElement> > type, TElement item, Func <TElement, TKey> keySelector) : base(factory, type) { Item = item; KeySelector = keySelector; }
public DataflowCalculation(IDataflowFactory factory, IDataflowType <TOutput> type, TDataflowOperator @operator, Func <TInput, IDataflow <TOutput> > continuation) : base(factory, type) { Operator = @operator; Continuation = continuation; }
private static IObservable <TOutput> TransformDataflowsByType <TOutput>(IDataflowType <TOutput> dataflowType, IObservable <IDataflow <TOutput> > dataflows) { var transformDataflowHelperMethod = TransformDataflowHelperMethods.GetOrAdd( new Tuple <Type, Type>(typeof(TOutput), dataflowType.TypeOfDataflow), types => GetTransformDataflowHelperMethodInfo(types.Item1, types.Item2)); return((IObservable <TOutput>)transformDataflowHelperMethod.Invoke(null, new object[] { dataflowType, dataflows })); }
public Buffer(IDataflowFactory factory, IDataflowType <IList <T> > type, T item, TimeSpan batchTimeout, int batchMaxSize) : base(factory, type) { Item = item; BatchTimeout = batchTimeout; BatchMaxSize = batchMaxSize; }
protected Dataflow(IDataflowFactory factory, IDataflowType <T> type) { Factory = factory; Type = type; }
public ReturnManyAsync(IDataflowFactory factory, IDataflowType <T> type, Task <IEnumerable <T> > result) : base(factory, type) { Result = result; }
public ReturnMany(IDataflowFactory factory, IDataflowType <T> type, IEnumerable <T> result) : base(factory, type) { Result = result; }
public ResultDataflow(IDataflowFactory factory, IDataflowType <T> type, IObservable <T> results) : base(factory, type) { Results = results; }
public GroupedDataflow(IDataflowFactory factory, IDataflowType <TElement> type, TKey key, IObservable <TElement> items) : base(factory, type) { Key = key; Items = items; }
private static IObservable <IDataflow <TOutput> > PerformOperatorTyped(IDataflowType <TInput> dataflowType, IObservable <DataflowCalculation <TInput, TOutput, TDataflowOperator> > group) { return(((DataflowOperatorType <TInput, TDataflowOperator>)dataflowType).PerformOperator(group)); }
public ToList(IDataflowFactory factory, IDataflowType <IList <T> > type, T item) : base(factory, type) { Item = item; }
public ResultDataflow(IDataflowFactory factory, IDataflowType <T> type, ISourceBlock <T> results) : base(factory, type) { Results = results; }
public GroupedDataflow(IDataflowFactory factory, IDataflowType <TElement> type, TKey key, ISourceBlock <TElement> items) : base(factory, type) { Key = key; Items = items; }
protected DataflowOperator(IDataflowFactory factory, IDataflowType <T> type) : base(factory, type) { }
public ReturnAsync(DataflowFactory dataflowFactory, IDataflowType <T> dataflowType, Task <T> result) : base(dataflowFactory, dataflowType) { Result = result; }
public Return(IDataflowFactory dataflowFactory, IDataflowType <T> dataflowType, T result) : base(dataflowFactory, dataflowType) { Result = result; }