Table of Contents

Class LazyMap<TKey, TValue>

Namespace
RisingV.Shared.Collections
Assembly
RisingV.Shared.dll

A map that lazily initializes values when accessed.

public class LazyMap<TKey, TValue> : Map<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IDeserializationCallback, ISerializable, IMap<TKey, TValue>, IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IMap, IDictionary, ICollection, IEnumerable where TKey : notnull

Type Parameters

TKey
TValue
Inheritance
Dictionary<TKey, TValue>
Map<TKey, TValue>
LazyMap<TKey, TValue>
Implements
IReadOnlyDictionary<TKey, TValue>
IMap<TKey, TValue>
IDictionary<TKey, TValue>
ICollection<KeyValuePair<TKey, TValue>>
IEnumerable<KeyValuePair<TKey, TValue>>
Inherited Members
Extension Methods

Properties

this[TKey]

public TValue this[TKey key] { get; set; }

Parameters

key TKey

Property Value

TValue

Methods

TryRemove(TKey, out TValue?)

public bool TryRemove(TKey key, out TValue? value)

Parameters

key TKey
value TValue

Returns

bool