Table of Contents

Namespace NanoByte.Common.Collections

Specialized collection types supplementing System.Collections.Generic.

Classes

ArrayBuffer<T>

An array rented from the System.Buffers.ArrayPool<T>.

ArrayUtils

Provides array-related helper methods.

CollectionExtensions

Provides extension methods for System.Collections.Generic.ICollection<T>s.

ConcurrentSet<T>

Represents a thread-safe set of values.

CultureComparer

This compares two System.Globalization.CultureInfos by alphabetically comparing their string representations.

DefaultComparer<T>

Compares objects using their System.IComparable implementation.

DictionaryExtensions

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

EnumerableExtensions

Provides extension methods for System.Collections.Generic.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 System.Collections.Generic.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 System.Collections.Generic.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.