示例#1
0
 public TimeSerieNavigator(TimeSerieNavigator <T> items)
 {
     Records            = items.Records;
     Records.NewRecord += Records_NewRecord;
     Records.OnShrink  += OnRecordsShrunk;
 }
示例#2
0
 public TimeSerieTransform(TimeSerieNavigator <TIn> backSerie, Func <TIn, TOut> selector) :
     base()
 {
     TransformFunction      = selector;
     backSerie.OnNewRecord += rec => this.AddRecord(TransformFunction(rec));
 }