コード例 #1
0
 public Reckoning(bool arg, ReCon stack)
 {
     context = arg ? stack.Enter(forward: true) : null;
 #if !AL_OPTIMIZE
     callInfo = CallInfo.none;
 #endif
 }
コード例 #2
0
        public ResetCriterion Check(object arg, ReCon stack)
        {
            bool equals = (arg == null) ? (hold == null)
                                  : arg.Equals(hold);

            if (!equals)
            {
                context = stack.Enter(forward: true);
                hold    = arg;
            }
            return(this);
        }
コード例 #3
0
 [SetUp] public void Setup() => rec = new ReCon();
コード例 #4
0
 [SetUp] public void Setup() => stack = new ReCon();
コード例 #5
0
 [SetUp] public void Setup()
 {
     x     = new ResetCriterion();
     stack = new ReCon();
 }
コード例 #6
0
 public Reckoning(bool arg, ReCon stack, CallInfo i)
 {
     callInfo = i;
     context  = arg ? stack.Enter(forward: true) : null;
 }
コード例 #7
0
 public ResetCriterion Check(object arg, ReCon stack, CallInfo i)
 {
     callInfo = i; return(Check(arg, stack));
 }