Interface ICreateValue<TKey, TValue>
An interface to provide conditional or custom creation logic to a concurrent dictionary.
Assembly: DistributedLucene.Net.dll
Syntax
public interface ICreateValue<TKey, TValue>
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
Methods
Name | Description |
---|---|
CreateValue(TKey, out TValue) | Called when the key was not found within the dictionary to produce a new value that can be added. Return true to continue with the insertion, or false to prevent the key/value from being inserted. |