public Source(SourceOptions options) { Id = options.Id; Transformations = options.Transformations?.Select((it) => TransformationFactory.GetInstance(it)) ?? new List <ITransformation <object> >(); }
public Sink(SinkOptions options) { Id = options.Id; Transformations = options.Transformations?.Select((it) => TransformationFactory.GetInstance(it)) ?? new List <ITransformation <object> >(); Next = Subject.AsObservable().Pipe(Transformations.Select(it => it.GetOperator()).ToArray()); }