public WrongProgrammingContextException(ProgrammingContextState CurrentState, ProgrammingContextState RequiredState, OperationBase Operation) : base(ExceptionMessage) { _currentState = CurrentState; _requiredState = RequiredState; _operation = Operation; }
public StateRestrictionAttribute(ProgrammingContextState RequiredState) { this.RequiredState = RequiredState; }