Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EventPackageModel" /> class.
 /// </summary>
 /// <param name="eventType">Type of the event activity.</param>
 /// <param name="properties">The properties.</param>
 public EventPackageModel(EventPackageType eventType, Dictionary <string, string> properties = null)
 {
     EventType  = eventType;
     Properties = properties ?? new Dictionary <string, string>();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EventPackageDataModel" /> class.
 /// </summary>
 /// <param name="eventType">Type of the event activity.</param>
 /// <param name="data">The data.</param>
 /// <param name="properties">The properties.</param>
 public EventPackageDataModel(EventPackageType eventType, object data, Dictionary <string, string> properties = null) : base(eventType, data, properties)
 {
 }