public CollectionEvent(CollectionEventType type, T item, int index)
 {
     Type  = type;
     Item  = item;
     Index = index;
 }
Esempio n. 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="eventType">The event type</param>
 /// <param name="element">The affected element value (may be null for collection-general events)</param>
 public CollectionEvent(CollectionEventType eventType, int?element)
 {
     this.EventType = eventType;
     this.Element   = element;
 }