Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the RaisedEvent class
 /// </summary>
 /// <param name="eventObject">The event that is being raised</param>
 /// <param name="eventSource">The object that raised the event</param>
 public RaisedEvent(AcmaEvent eventObject, MAObjectHologram eventSource)
     : this()
 {
     this.Event  = eventObject;
     this.Source = eventSource;
     this.Event.OnEventRaised(this, eventSource);
 }
Beispiel #2
0
 public RaisedEvent(AcmaEvent eventObject)
     : this()
 {
     this.Event = eventObject;
     this.Event.OnEventRaised(this, null);
 }