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); }
public override void Execute() { SecurityEventService.Instance.AddSecurityEvent((SecurityEvent)m_initData.Clone()); }
public CreateNewSecurityEventCommand(SecurityEvent se) { m_initData = (SecurityEvent)se.Clone(); }