Пример #1
0
 public CorrectWaitForMessageValueRuleBuilder(CorrectValueRuleBuilder builder, Predicate <object> predicate)
 {
     _builder   = builder;
     _func      = null;
     _predicate = predicate ?? throw new ArgumentNullException(nameof(predicate));
 }
Пример #2
0
 public CorrectWaitForMessageValueRuleBuilder(CorrectValueRuleBuilder builder, Func <object, bool> func)
 {
     _builder   = builder;
     _func      = func ?? throw new ArgumentNullException(nameof(func));
     _predicate = null;
 }