dotnet add package Cogs.Collections --version 1.12.1
NuGet\Install-Package Cogs.Collections -Version 1.12.1
<PackageReference Include="Cogs.Collections" Version="1.12.1" />
paket add Cogs.Collections --version 1.12.1
#r "nuget: Cogs.Collections, 1.12.1"
// Install Cogs.Collections as a Cake Addin #addin nuget:?package=Cogs.Collections&version=1.12.1 // Install Cogs.Collections as a Cake Tool #tool nuget:?package=Cogs.Collections&version=1.12.1
This library provides a number of utilities surrounding collections:
EquatableList<T>is an immutable list of items which may be compared with other instances of the same type and produces a hash code based on the permutation of its contents.
NullableKeySortedDictionary<TKey, TValue>are very slim implementations of
IDictionary<TKey, TValue>that allow a single null key (useful for some edge cases in which a null key is simply going to happen and you need to be able to deal with it; otherwise, use other dictionary classes)
ObservableSortedDictionary<TKey, TValue>are counterparts to the BCL's
SortedDictionary<TKey, TValue>, respectively, that implement the also included
INotifyDictionaryChanged<TKey, TValue>. Ever want to add multiple items to a dictionary at once... or keep an eye on what's being done to it? Now you can.
OrderedHashSet<T>is a counterpart to the BCL's
HashSet<T>that maintains the order of the elements in the set. All operations are still O(1), just like the original, but if you enumerate over it you will get elements in the exact order they were added. There are also methods for manipulating the order.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.1 is compatible.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Cogs.Collections:
Cogs for active expressions.
Cogs for active queries.
Cogs for synchronized collections. Includes ISynchronizedObservableRangeDictionary, SynchronizedObservableCollection, SynchronizedObservableDictionary, SynchronizedObservableSortedDictionary, SynchronizedRangeObservableCollection, ProcessingQueue, and AsyncProcessingQueue.
Cogs for WPF. Includes general-use behaviors, controls, validation rules, and value converters. Also includes ways to leverage Windows features beyond what WPF supports out of the box (such as using enabling blur-behind and binding system commands to controls) and the inclusion of input gestures in styles.
This package is not used by any popular GitHub repositories.
ReadOnlyObservableRangeDictionary is no longer sealed.