Ejemplo n.º 1
0
 public FixedThenEqualDelaysProvider(int tailDivisionFactor, [NotNull] params TimeSpan[] firstDelays)
 {
     equalProvider    = new EqualDelaysProvider(tailDivisionFactor);
     fixedProvider    = new FixedDelaysProvider(TailDelayBehaviour.StopIssuingDelays, firstDelays);
     fixedDelaysCount = firstDelays.Length;
 }
 public AdHocThenEqualDelaysProvider(int tailDivisionFactor, [NotNull] params Func <TimeSpan>[] firstDelays)
 {
     equalProvider    = new EqualDelaysProvider(tailDivisionFactor);
     adHocProvider    = new AdHocDelaysProvider(TailDelayBehaviour.StopIssuingDelays, firstDelays);
     fixedDelaysCount = firstDelays.Length;
 }