コード例 #1
0
        protected override void SetMyBlockInternalArg()
        {
            switch (op)
            {
            case OPERATION.EQUALS:
                myBlockInternalArg = new EqualsConditionInstruction(this);
                break;

            case OPERATION.NOTEQUALS:
                myBlockInternalArg = new NotEqualsConditionInstruction(this);
                break;
            }
        }
コード例 #2
0
        protected override void SetMyBlockInternalArg()
        {
            switch (op)
            {
            case OPERATION.EQUALS:
                myBlockInternalArg = new EqualsConditionInstruction(this);
                break;

            case OPERATION.NOTEQUALS:
                myBlockInternalArg = new NotEqualsConditionInstruction(this);
                break;

            case OPERATION.LESSTHAN:
                myBlockInternalArg = new LessThanConditionInstruction(this);
                break;

            case OPERATION.GREATERTHAN:
                myBlockInternalArg = new GreaterThanConditionInstruction(this);
                break;
            }
        }