public Command( String name ) { m_executed = false; m_name = name; m_historyOperation = CommandHistoryOperation.NONE; }
protected void AddHistoryOperation( CommandHistoryOperation historyOperationFlags ) { m_historyOperation |= historyOperationFlags; }
protected void RemoveHistoryOperation( CommandHistoryOperation historyOperationFlags ) { m_historyOperation &= ~historyOperationFlags; }
public bool HasHistoryOperation( CommandHistoryOperation historyOperationFlags ) { return ( ( m_historyOperation & historyOperationFlags ) == historyOperationFlags ); }