Empty<TKey, TValue>()
Creates a new IncrementalKeyedCollection<TKey, TValue> that represents the absence of any operation.
Declaration
public static IncrementalKeyedCollection<TKey, TValue> Empty<TKey, TValue>() where TKey : notnull where TValue : class, IIncrementalKeyedCollectionItem<TKey>Returns
| Type | Description |
|---|---|
| IncrementalKeyedCollection<TKey, TValue> | An empty IncrementalKeyedCollection<TKey, TValue> representing no changes to the collection. |
Type Parameters
| Name | Description |
|---|---|
| TKey | The type of keys in the collection. |
| TValue | The type of values in the collection. |
Remarks
This is equivalent to not setting the property at all. When merged with another collection, the other collection's operations take precedence.