Open sandboxFocus

Class IncrementalKeyedCollection

Factory for the generic IncrementalKeyedCollection<TKey, TValue> class.

Inheritance
IncrementalKeyedCollection
Namespace: Metalama.Framework.Options
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public static class IncrementalKeyedCollection

Methods

Name Description
AddOrApplyChanges<TKey, TValue>(IEnumerable<TValue>)

Creates a IncrementalKeyedCollection<TKey, TValue> that represents the operation of adding items to the collection, or, if any item with the same key already exists, update these item with the given new values.

AddOrApplyChanges<TKey, TValue>(TValue)

Creates a IncrementalKeyedCollection<TKey, TValue> that represents the operation of adding an item to the collection, or, if an item with the same key already exists, update this item with the given new values.

AddOrApplyChanges<TKey, TValue>(params TValue[])

Creates a IncrementalKeyedCollection<TKey, TValue> that represents the operation of adding items to the collection, or, if any item with the same key already exists, update these item with the given new values.

Clear<TKey, TValue>()

Creates a IncrementalKeyedCollection<TKey, TValue> that represents the operation of removing any item both in the collection.

Empty<TKey, TValue>()

Creates a IncrementalKeyedCollection<TKey, TValue> that represents the absence of any operation.

Remove<TKey, TValue>(IEnumerable<TValue>)

Creates a IncrementalKeyedCollection<TKey, TValue> that represents the option of removing items from the collection.

Remove<TKey, TValue>(TValue)

Creates a IncrementalKeyedCollection<TKey, TValue> that represents the option of removing an item from the collection.

Remove<TKey, TValue>(params TValue[])

Creates a IncrementalKeyedCollection<TKey, TValue> that represents the option of removing items from the collection.

See Also