MetalamaAPI documentationAspect APIMetalama.​Framework.​OptionsIncremental­Keyed­Collection<TKey, TValue>Empty
Open sandboxFocus

IncrementalKeyedCollection<TKey, TValue>.Empty Property

Empty

Gets an IncrementalKeyedCollection<TKey, TValue> that represents the absence of any change in the collection.

Declaration
public static IncrementalKeyedCollection<TKey, TValue> Empty { get; }
Property Value
Type Description
IncrementalKeyedCollection<TKey, TValue>
Remarks

If you are looking for an object resulting in an empty collection even if the previous collection is not empty, use Clear<TKey, TValue>().