Class ThreadSafeStore<TKey, TValue>
Inheritance
System.Object
ThreadSafeStore<TKey, TValue>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Bayat.Json.Utilities
Assembly: Bayat.Json.Runtime.dll
Syntax
public class ThreadSafeStore<TKey, TValue>
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
Constructors
| Improve this Doc View SourceThreadSafeStore(Func<TKey, TValue>)
Declaration
public ThreadSafeStore(Func<TKey, TValue> creator)
Parameters
Type | Name | Description |
---|---|---|
System.Func<TKey, TValue> | creator |
Methods
| Improve this Doc View SourceGet(TKey)
Declaration
public TValue Get(TKey key)
Parameters
Type | Name | Description |
---|---|---|
TKey | key |
Returns
Type | Description |
---|---|
TValue |