Table of Contents

Namespace SunamoCollectionsGeneric.Collections

Classes

BadGoodCollection<T>

Collection that categorizes items into Bad and Good lists

CollectionToEnd<T>

A collection that iterates to the end without cycling back to the beginning

CycleGenerator<T>

Generator that cycles through a list of items, returning to the start after reaching the end

CyclingCollection<T>

Collection that supports cycling through items with forward and backward navigation

D<T, U>

Dictionary implementation with debugging capabilities and enumerable support Must be IEnumerable, not IList.

DictionarySort<T, U>

Helper class for sorting dictionaries by keys or values

DictionaryWithList<T, U>

Dictionary implementation backed by a list for maintaining insertion order

Joiner<T>

Helper class for building a string by joining items with a separator

L3<T>

Generic list class (L3 variant)

L<T>

Can be derived because of the new keyword. For completely derived from IList, use RefreshingList.

ListWithElements<T>

A list that is pre-initialized with a specified number of default elements

ResolvedDictionary<T, U>

Dictionary that resolves values using a function when a key is not found

SafeStringCollection

A string collection that replaces unallowed characters with a safe replacement character

SunamoDictionarySort<T, U>

Dictionary with sorting capabilities for keys and values

SunamoHashSetWithoutDuplicates<T>

HashSet that tracks and reports duplicate items during addition

TextWriterList

TextWriter implementation that writes lines to a list Not working, tried with Microsoft.CodeAnalysis.SyntaxNode.WriteTo

UniqueTableInWhole

Represents a unique table where each row contains all columns. Similar class with two dimension array is ValuesTableGrid. Can be: Every column of row unique, Every row of column unique, Every column as whole different, Every rows as whole different.