public override void Undo()
        {
            SecurityEventService.Instance.AddSecurityEvent((SecurityEvent)m_initData.Clone());

            UndoRedoEventArg arg = new UndoRedoEventArg();

            arg.FirstLevelGuid = m_initData.EventGuid;
            arg.Tag            = m_initData.Name;
            RaiseUndoDoneEvent(arg);
        }
예제 #2
0
 public override void Execute()
 {
     SecurityEventService.Instance.AddSecurityEvent((SecurityEvent)m_initData.Clone());
 }
예제 #3
0
 public CreateNewSecurityEventCommand(SecurityEvent se)
 {
     m_initData = (SecurityEvent)se.Clone();
 }