Table of Contents

Class MBReadOnlyDictionary<TKey, TValue>

Namespace
TaleWorlds.Library
Assembly
TaleWorlds.Library.dll
public class MBReadOnlyDictionary<TKey, TValue> : ICollection, IReadOnlyDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable

Type Parameters

TKey
TValue
Inheritance
MBReadOnlyDictionary<TKey, TValue>
Implements
IReadOnlyDictionary<TKey, TValue>
IEnumerable<KeyValuePair<TKey, TValue>>
Inherited Members
Extension Methods

Constructors

MBReadOnlyDictionary(Dictionary<TKey, TValue>)

public MBReadOnlyDictionary(Dictionary<TKey, TValue> dictionary)

Parameters

dictionary Dictionary<TKey, TValue>

Properties

Count

public int Count { get; }

Property Value

int

IsSynchronized

public bool IsSynchronized { get; }

Property Value

bool

this[TKey]

public TValue this[TKey key] { get; }

Parameters

key TKey

Property Value

TValue

Keys

public IEnumerable<TKey> Keys { get; }

Property Value

IEnumerable<TKey>

SyncRoot

public object SyncRoot { get; }

Property Value

object

Values

public IEnumerable<TValue> Values { get; }

Property Value

IEnumerable<TValue>

Methods

ContainsKey(TKey)

public bool ContainsKey(TKey key)

Parameters

key TKey

Returns

bool

CopyTo(Array, int)

public void CopyTo(Array array, int index)

Parameters

array Array
index int

GetEnumerator()

public Dictionary<TKey, TValue>.Enumerator GetEnumerator()

Returns

Dictionary<TKey, TValue>.Enumerator

TryGetValue(TKey, out TValue)

public bool TryGetValue(TKey key, out TValue value)

Parameters

key TKey
value TValue

Returns

bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).