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