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();
 }