NFX.Collections NamespaceNFX Class Library

[This is preliminary documentation and is subject to change.]

Provides special purpose collections
Classes

  ClassDescription
Public classBitList
Provides bit array with automatic resizing
Public classBitMatrix2D
Provides an efficient access to a square 2D bit matrix accessible as boolean values
Public classEventedCollectionBase TContext 
Provides base implementation for some evented collections
Public classEventedDictionary TKey, TValue, TContext 
Represents a dictionary that rises events
Public classEventedList TData, TContext 
Represents list that rises change events
Public classLookAheadEnumerable T 
Public classLookAheadEnumerator T 
Public classLookAheadExtensions
Public classMatrix2D T 
Represents a two deminsional matrix of T. This class uses jagged arrays for internal implementation ensuring proper array sizing per matrix structure
Public classMatrix2DBase T 
Public classMatrixBase T 
Provides base for various matrices
Public classNamedInterlocked
Provides functionality similar to the Interlocked class executed over a named slot. All operations are THREAD-SAFE for calling concurrently. The name comparison is that of Registry's which is OrdinalIgnoreCase. This class was designed to better organize named counters incremented from different threads, i.e. this is needed to keep a count of calls to remote host identified by their names. This class is NOT designed for frequent additions/deletions of named slots, nor was it designed to keep millions of slots. Use it in cases when there are thousands at most slots and new slots appear infrequently. You must delete un-needed slots
Public classNamedInterlocked TContext 
Adds context to NamedInterlocked
Public classStringMap
Efficeintly maps string -> string for serialization. Compared to Dictionary[string,string] this class yields 20%-50% better Slim serialization speed improvement and 5%-10% space improvement
Interfaces

  InterfaceDescription
Public interfaceILookAheadEnumerable T 
Public interfaceILookAheadEnumerator T 
Delegates

  DelegateDescription
Public delegateEventedCollectionGetReadOnlyHandler TContext 
Event handler for list changes
Public delegateEventedDictionary TKey, TValue, TContext  ChangeHandler
Public delegateEventedList TData, TContext  ChangeHandler
Enumerations

  EnumerationDescription
Public enumerationEventedDictionary TKey, TValue, TContext  ChangeType
Describes changes in evented list
Public enumerationEventedList TData, TContext  ChangeType
Describes changes in evented list
Public enumerationEventPhase
Specifies the phase of the event i.e. before/after