Exemplo 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;
 }
Exemplo n.º 2
0
 public EventDescriptor(DynamicEvent eventData, string eventType, EventHeader header)
     : this()
 {
     EventData = new EventData(eventType, eventData);
     Header = header;
 }
Exemplo n.º 3
0
 protected bool Equals(EventData other)
 {
     return string.Equals(Type, other.Type) && Equals(Event, other.Event);
 }