Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 public EventDescriptor(DynamicEvent eventData, string eventType, EventHeader header)
     : this()
 {
     EventData = new EventData(eventType, eventData);
     Header = header;
 }