Show / Hide Table of Contents

Class ThreadSafeStore<TKey, TValue>

Inheritance
System.Object
ThreadSafeStore<TKey, TValue>
Namespace: VRage.Collections
Assembly: VRage.Library.dll
Syntax
public class ThreadSafeStore<TKey, TValue> : Object
Type Parameters
Name Description
TKey
TValue

Constructors

ThreadSafeStore(Func<TKey, TValue>)

Declaration
public ThreadSafeStore(Func<TKey, TValue> creator)
Parameters
Type Name Description
System.Func<TKey, TValue> creator

Methods

Get(TKey)

Declaration
public TValue Get(TKey key)
Parameters
Type Name Description
TKey key
Returns
Type Description
TValue

Get(TKey, Func<TKey, TValue>)

Declaration
public TValue Get(TKey key, Func<TKey, TValue> creator)
Parameters
Type Name Description
TKey key
System.Func<TKey, TValue> creator
Returns
Type Description
TValue
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾