C5  2.4
The C5 Generic Collection Library for C# and CLI is a comprehensive collection library supporting lists, sets, bags, dictionaries, priority queues, (FIFO) queues, and (LIFO) stacks. C5 runs on .NET 3.5+, Silverlight 5, Windows Phone 8, Xamarin.iOS, Xamarin.Android, and Mono.
Events.cs File Reference

Classes

class  C5.EventBlock< T >
 Holds the real events for a collection
 
class  C5.ProxyEventBlock< T >
 Tentative, to conserve memory in GuardedCollectionValueBase This should really be nested in Guarded collection value, only have a guardereal field
 
class  C5.ItemAtEventArgs< T >
 
class  C5.ItemCountEventArgs< T >
 
class  C5.ClearedEventArgs
 
class  C5.ClearedRangeEventArgs
 

Namespaces

namespace  C5
 

Enumerations

enum  C5.EventTypeEnum {
  C5.EventTypeEnum.None = 0x00000000, C5.EventTypeEnum.Changed = 0x00000001, C5.EventTypeEnum.Cleared = 0x00000002, C5.EventTypeEnum.Added = 0x00000004,
  C5.EventTypeEnum.Removed = 0x00000008, C5.EventTypeEnum.Basic = 0x0000000f, C5.EventTypeEnum.Inserted = 0x00000010, C5.EventTypeEnum.RemovedAt = 0x00000020,
  C5.EventTypeEnum.All = 0x0000003f
}
 

Functions

delegate void C5.CollectionChangedHandler< T > (object sender)
 The type of event raised after an operation on a collection has changed its contents. Normally, a multioperation like AddAll, M:C5.IExtensible`1.AddAll(System.Collections.Generic.IEnumerable<`0>) will only fire one CollectionChanged event. Any operation that changes the collection must fire CollectionChanged as its last event. More...
 
delegate void C5.CollectionClearedHandler< T > (object sender, ClearedEventArgs eventArgs)
 The type of event raised after the Clear() operation on a collection. Note: The Clear() operation will not fire ItemsRemoved events. More...
 
delegate void C5.ItemsAddedHandler< T > (object sender, ItemCountEventArgs< T > eventArgs)
 The type of event raised after an item has been added to a collection. The event will be raised at a point of time, where the collection object is in an internally consistent state and before the corresponding CollectionChanged event is raised. Note: an Update operation will fire an ItemsRemoved and an ItemsAdded event. Note: When an item is inserted into a list (T:C5.IList`1), both ItemInserted and ItemsAdded events will be fired. More...
 
delegate void C5.ItemsRemovedHandler< T > (object sender, ItemCountEventArgs< T > eventArgs)
 The type of event raised after an item has been removed from a collection. The event will be raised at a point of time, where the collection object is in an internally consistent state and before the corresponding CollectionChanged event is raised. Note: The Clear() operation will not fire ItemsRemoved events. Note: an Update operation will fire an ItemsRemoved and an ItemsAdded event. Note: When an item is removed from a list by the RemoveAt operation, both an ItemsRemoved and an ItemRemovedAt event will be fired. More...
 
delegate void C5.ItemInsertedHandler< T > (object sender, ItemAtEventArgs< T > eventArgs)
 The type of event raised after an item has been inserted into a list by an Insert, InsertFirst or InsertLast operation. The event will be raised at a point of time, where the collection object is in an internally consistent state and before the corresponding CollectionChanged event is raised. Note: an ItemsAdded event will also be fired. More...
 
delegate void C5.ItemRemovedAtHandler< T > (object sender, ItemAtEventArgs< T > eventArgs)
 The type of event raised after an item has been removed from a list by a RemoveAt(int i) operation (or RemoveFirst(), RemoveLast(), Remove() operation). The event will be raised at a point of time, where the collection object is in an internally consistent state and before the corresponding CollectionChanged event is raised. Note: an ItemRemoved event will also be fired. More...