Ejemplo n.º 1
0
 // Token: 0x060006FD RID: 1789 RVA: 0x00011694 File Offset: 0x00010694
 public EventAcknowledgement(EventNotification notification)
 {
     this.m_sourceName    = notification.SourceID;
     this.m_conditionName = notification.ConditionName;
     this.m_activeTime    = notification.ActiveTime;
     this.m_cookie        = notification.Cookie;
 }
Ejemplo n.º 2
0
        // Token: 0x060006E0 RID: 1760 RVA: 0x00011500 File Offset: 0x00010500
        public virtual object Clone()
        {
            EventNotification eventNotification = (EventNotification)base.MemberwiseClone();

            eventNotification.m_attributes = (EventNotification.AttributeCollection) this.m_attributes.Clone();
            return(eventNotification);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Creates a deep copy of the object.
        /// </summary>
        public virtual object Clone()
        {
            EventNotification clone = (EventNotification)MemberwiseClone();

            clone.m_attributes = (AttributeCollection)m_attributes.Clone();

            return(clone);
        }