예제 #1
0
 public MatchComparandCase(TComparand comparand, Expression <Predicate <TContext> > condition, StatePerformBuilder <TComparand, TInput, TContext> builder) : base(builder)
 {
     this.Comparand = comparand;
     this.Condition = condition;
 }
예제 #2
0
 public MatchCustomCase(Expression <Func <TInput, TContext, bool> > condition, StatePerformBuilder <TComparand, TInput, TContext> builder) : base(builder)
 {
     Debug.Assert(condition != null);
     this.Condition = condition;
 }
예제 #3
0
 protected MatchCase(StatePerformBuilder <TComparand, TInput, TContext> builder)
 {
     Debug.Assert(builder != null);
     this.Builder = builder;
 }