public virtual object Clone() { EventNotification notification = (EventNotification)base.MemberwiseClone(); notification.m_attributes = (AttributeCollection)this.m_attributes.Clone(); return(notification); }
public EventAcknowledgement(EventNotification notification) { this.m_sourceName = null; this.m_conditionName = null; this.m_activeTime = DateTime.MinValue; this.m_cookie = 0; this.m_sourceName = notification.SourceID; this.m_conditionName = notification.ConditionName; this.m_activeTime = notification.ActiveTime; this.m_cookie = notification.Cookie; }