Table of Contents

Namespace NanoByte.Common.Collections

Specialized collection types supplementing System.Collections.Generic.

Classes

ArrayBuffer<T>

An array rented from the ArrayPool<T>.

ArrayUtils

Provides array-related helper methods.

CollectionExtensions

Provides extension methods for ICollection<T>s.

ConcurrentSet<T>

Represents a thread-safe set of values.

CultureComparer

This compares two CultureInfos by alphabetically comparing their string representations.

DefaultComparer<T>

Compares objects using their IComparable implementation.

DictionaryExtensions

Provides extension methods for Dictionary<TKey, TValue>s.

EnumerableExtensions

Provides extension methods for IEnumerable<T>s.

LanguageSet

A set of languages that can be serialized as a simple space-separated list of ISO language codes.

ListExtensions

Provides extension methods for List<T>s.

LocalizableString

A string with an associated language that can be XML serialized to an element with an xml:lang tag.

LocalizableStringCollection

A collection of LocalizableStrings with language-search methods.

MonitoredCollection<T>

A collection that can easily be monitored for changes via events.

MultiDictionary<TKey, TValue>

A dictionary that allows a key to reference multiple values.

NamedCollection<T>

A keyed collection (pseudo-dictionary) of INamed objects. Case-insensitive!

StackExtensions

Provides extension methods for Stack<T>s.

TransparentCacheBase<TKey, TValue>

Transparently caches retrieval requests, passed through to a template method on first request.

TransparentCache<TKey, TValue>

Transparently caches retrieval requests, passed through to a callback on first request.

XmlDictionary

A string dictionary that supports data-binding and can be XML serialized.

XmlDictionaryEntry

A key-value string pair for XmlDictionary.