コード例 #1
0
 public override int CompareTo(IResponseAction other)
 {
     if (other is PreviousPageResponseAction)
         return 1;
     else
         return 0;
 }
コード例 #2
0
 public override int CompareTo(IResponseAction other)
 {
     if (other is NextPageResponseAction)
         return -1;
     else
         return 0;
 }
コード例 #3
0
 public override int CompareTo(IResponseAction other)
 {
     if (other is PreviousPageResponseAction)
     {
         return(1);
     }
     else
     {
         return(0);
     }
 }
コード例 #4
0
 public override int CompareTo(IResponseAction other)
 {
     if (other is NextPageResponseAction)
     {
         return(-1);
     }
     else
     {
         return(0);
     }
 }
コード例 #5
0
ファイル: PageResponseAction.cs プロジェクト: kswoll/restless
 public abstract int CompareTo(IResponseAction other);
コード例 #6
0
ファイル: PageResponseAction.cs プロジェクト: kswoll/restless
 public bool IsThisPrimary(IResponseAction other) => false;
コード例 #7
0
 public StrategyResponseAction(IResponseAction nextAction) => _nextAction = nextAction;
コード例 #8
0
ファイル: FizzResponseAction.cs プロジェクト: Fyzxs/IMock
 public FizzResponseAction(IResponseAction nextAction) => _nextAction = nextAction;
コード例 #9
0
 public void AddResponseAction(IResponseAction responseAction)
 {
     _responseActions.Add(responseAction);
 }
コード例 #10
0
 public FizzBuzz(Int current, IResponseAction responseAction)
 {
     _current        = current;
     _responseAction = responseAction;
 }
コード例 #11
0
 public abstract int CompareTo(IResponseAction other);
コード例 #12
0
 public bool IsThisPrimary(IResponseAction other) => false;