C# (CSharp) NSoft.NFramework.Collections.C5 네임스페이스

중첩된 네임스페이스

NSoft.NFramework.Collections.C5.Arrays
NSoft.NFramework.Collections.C5.Heaps
NSoft.NFramework.Collections.C5.RecordsTests
NSoft.NFramework.Collections.C5.SortingTests
NSoft.NFramework.Collections.C5.interfaces

클래스들

이름 설명
C5Random A modern random number generator based on G. Marsaglia: Seeds for Random Number Generators, Communications of the ACM 46, 5 (May 2003) 90-93; and a posting by Marsaglia to comp.lang.c on 2003-04-03.
CollectionModifiedException An exception thrown by enumerators, range views etc. when accessed after the underlying collection has been modified.
Debug Class containing debugging symbols - to eliminate preprocessor directives
DuplicateNotAllowedException An exception thrown when an operation attempts to create a duplicate in a collection with set semantics (P:C5.IExtensible`1.AllowsDuplicates is false) or attempts to create a duplicate key in a dictionary.

With collections this can only happen with Insert operations on lists, since the Add operations will not try to create duplictes and either ignore the failure or report it in a bool return value.

With dictionaries this can happen with the M:C5.IDictionary`2.Add(`0,`1) metod.

FixedSizeCollectionException
IncompatibleViewException An exception thrown by operations on a list that expects an argument that is a view on the same underlying list.
InternalException An exception to throw from library code when an internal inconsistency is encountered.
InvalidPriorityQueueHandleException
Logger Logging module
NoSuchItemException An exception thrown by a lookup or lookup with update operation that does not find the lookup item and has no other means to communicate failure.

The typical scenario is a lookup by key in a dictionary with an indexer, see e.g. P:C5.IDictionary`2.Item(`0)

NotAViewException An exception thrown by an operation on a list (T:C5.IList`1) that only makes sense for a view, not for an underlying list.
NotComparableException An exception thrown by an operation that need to construct a natural comparer for a type.
ReadOnlyCollectionException An exception thrown by an update operation on a Read-Only collection or dictionary.

This exception will be thrown unconditionally when an update operation (method or set property) is called. No check is made to see if the update operation, if allowed, would actually change the collection.

UnlistenableEventException
ViewDisposedException An excption thrown when trying to access a view (a list view on a T:C5.IList`1 or a snapshot on a T:C5.IPersistentSorted`1) that has been invalidated by some earlier operation.

The typical scenario is a view on a list that hash been invalidated by a call to Sort, Reverse or Shuffle on some other, overlapping view or the whole list.