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