示例#1
0
        public void ResetValueToDefault()
        {
            switch (_assignmentType)
            {
            case AssignmentType.Constant: break;

            case AssignmentType.GlobalVariable: _globalVariable.ResetValueToDefault(); break;

            case AssignmentType.PersonalVariable: _instancedVariable.GetVariable(IDToken).ResetValueToDefault(); break;

            default:
                throw new System.ArgumentOutOfRangeException();
            }
        }