コード例 #1
0
ファイル: Throttle.cs プロジェクト: aash/Singular
 /// <summary>
 ///   Creates a new Wait decorator using the specified timeout, run delegate, and child composite.
 /// </summary>
 /// <param name = "timeoutSeconds"></param>
 /// <param name = "runFunc"></param>
 /// <param name = "child"></param>
 public DynaWaitContinue(SimpleTimeSpanDelegate span, CanRunDecoratorDelegate runFunc, Composite child, bool measure = false)
     : base(runFunc, child)
 {
     _span = span;
     _measure = measure;
 }
コード例 #2
0
 /// <summary>
 ///   Creates a new Wait decorator using the specified timeout, run delegate, and child composite.
 /// </summary>
 /// <param name = "timeoutSeconds"></param>
 /// <param name = "runFunc"></param>
 /// <param name = "child"></param>
 public DynaWaitContinue(SimpleTimeSpanDelegate span, CanRunDecoratorDelegate runFunc, Composite child, bool measure = false)
     : base(runFunc, child)
 {
     _span    = span;
     _measure = measure;
 }