public CollectionEvent(CollectionEventType type, T item, int index) { Type = type; Item = item; Index = index; }
/// <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; }