Exemplo n.º 1
0
 protected AppendSeries(Mutability mutability       = Mutability.ReadOnly,
                        KeySorting keySorting       = KeySorting.Strong,
                        KeyComparer <TKey> comparer = default,
                        MovingWindowOptions <TKey>?movingWindowOptions = default) : base(mutability, keySorting, comparer)
 {
     if (movingWindowOptions != null)
     {
         WindowOptions = new MovingWindowOptions(this, movingWindowOptions);
     }
 }
Exemplo n.º 2
0
 public MutableSeries(KeyComparer <TKey> comparer, KeySorting keySorting, MovingWindowOptions <TKey> movingWindowOptions)
     : base(Mutability.Mutable, keySorting, comparer, movingWindowOptions)
 {
 }
Exemplo n.º 3
0
 public MutableSeries(KeySorting keySorting, MovingWindowOptions <TKey> movingWindowOptions)
     : base(Mutability.Mutable, keySorting, default, movingWindowOptions)
 {
 }
Exemplo n.º 4
0
 public AppendSeries(KeyComparer <TKey> comparer, KeySorting keySorting, MovingWindowOptions <TKey> movingWindowOptions)
     : this(Mutability.AppendOnly, keySorting, comparer, movingWindowOptions)
 {
 }
Exemplo n.º 5
0
 public AppendSeries(KeySorting keySorting, MovingWindowOptions <TKey> movingWindowOptions)
     : this(Mutability.AppendOnly, keySorting, default, movingWindowOptions)
 {
 }
Exemplo n.º 6
0
 public MovingWindowOptions(AppendSeries <TKey, TValue> series, MovingWindowOptions <TKey> movingWindowOptions)
 {
     _series = series;
     Options = movingWindowOptions ?? throw new ArgumentNullException(nameof(movingWindowOptions));
 }