Example #1
0
 public EventDescriptor(IEvent eventData, EventHeader header)
     : this()
 {
     var type = eventData.GetType();
     var name = String.Format("{0},{1}", type.FullName, type.Assembly.GetName().Name);
     EventData = new EventData(name, eventData);
     Header = header;
 }
Example #2
0
        public EventDescriptor(IEvent eventData, EventHeader header)
            : this()
        {
            var type = eventData.GetType();
            var name = String.Format("{0},{1}", type.FullName, type.Assembly.GetName().Name);

            EventData = new EventData(name, eventData);
            Header    = header;
        }
Example #3
0
 public EventDescriptor(DynamicEvent eventData, string eventType, EventHeader header)
     : this()
 {
     EventData = new EventData(eventType, eventData);
     Header    = header;
 }
Example #4
0
 public EventDescriptor(DynamicEvent eventData, string eventType, EventHeader header)
     : this()
 {
     EventData = new EventData(eventType, eventData);
     Header = header;
 }