예제 #1
0
 IActionWithHandler <IActionMatcher <T1, T2>, T1, T2> IActionMatcher <T1, T2> .With(Any value1, Any value2)
 {
     _withValues = new List <EitherTuple <T1, T2> > {
         EitherTuple.Create <T1, T2>(value1, value2)
     };
     return(this);
 }
예제 #2
0
 IActionWithHandler <IActionMatcher <T1, T2>, T1, T2> IActionWithHandler <IActionMatcher <T1, T2>, T1, T2> .Or(
     Any value1,
     Any value2)
 {
     _withValues.Add(EitherTuple.Create <T1, T2>(value1, value2));
     return(this);
 }
예제 #3
0
 IFuncWithHandler <IFuncMatcher <T1, T2, TResult>, T1, T2, TResult> IFuncMatcher <T1, T2, TResult> .With(Any value1,
                                                                                                         Any value2)
 {
     _withValues = new List <EitherTuple <T1, T2> > {
         EitherTuple.Create <T1, T2>(value1, value2)
     };
     return(this);
 }
예제 #4
0
 IActionWithHandler <IActionMatcher <T1, T2, T3>, T1, T2, T3> IActionMatcher <T1, T2, T3> .With(T1 value1,
                                                                                                Any value2,
                                                                                                T3 value3)
 {
     _withValues = new List <EitherTuple <T1, T2, T3> > {
         EitherTuple.Create <T1, T2, T3>(value1, value2, value3)
     };
     return(this);
 }
예제 #5
0
 IFuncWithHandler <IFuncMatcher <T1, T2, T3, TResult>, T1, T2, T3, TResult> IFuncMatcher <T1, T2, T3, TResult> .With(
     T1 value1,
     T2 value2,
     T3 value3)
 {
     _withValues = new List <EitherTuple <T1, T2, T3> > {
         EitherTuple.Create(value1, value2, value3)
     };
     return(this);
 }
예제 #6
0
 IActionWithHandler <IActionMatcher <T1, T2, T3>, T1, T2, T3> .Or(T1 value1, T2 value2, T3 value3)
 {
     _withValues.Add(EitherTuple.Create(value1, value2, value3));
     return(this);
 }
예제 #7
0
 IFuncWithHandler <IFuncMatcher <T1, T2, T3, TResult>, T1, T2, T3, TResult> .Or(T1 value1, T2 value2, T3 value3)
 {
     _withValues.Add(EitherTuple.Create(value1, value2, value3));
     return(this);
 }
예제 #8
0
 IFuncWithHandler <IFuncMatcher <T1, T2, TResult>, T1, T2, TResult> .Or(Any value1, Any value2)
 {
     _withValues.Add(EitherTuple.Create <T1, T2>(value1, value2));
     return(this);
 }