Example #1
0
 public Source(SourceOptions options)
 {
     Id = options.Id;
     Transformations = options.Transformations?.Select((it) => TransformationFactory.GetInstance(it)) ?? new List <ITransformation <object> >();
 }
Example #2
0
 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());
 }