Ejemplo n.º 1
0
        public virtual object Clone()
        {
            EventNotification notification = (EventNotification)base.MemberwiseClone();

            notification.m_attributes = (AttributeCollection)this.m_attributes.Clone();
            return(notification);
        }
Ejemplo n.º 2
0
 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;
 }