Interface IRemoveValue<TKey, TValue>
An interface to provide conditional removal of an item from a concurrent dictionary.
Assembly: DistributedLucene.Net.dll
Syntax
public interface IRemoveValue<TKey, TValue>
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
Remarks
Generally implemented as a struct and passed by ref to save stack space and to retrieve the values that where inserted or updated.
Methods
Name | Description |
---|---|
RemoveValue(TKey, TValue) | Called when the dictionary is about to remove the key/value pair provided, return true to allow it's removal, or false to prevent it from being removed. |