ImmutableEquatableDictionary<TKey, TValue> Class

public sealed class ImmutableEquatableDictionary<TKey, TValue> : ICollection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IEnumerable<KeyValuePair<TKey, TValue>>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IReadOnlyDictionary<TKey, TValue>, ICollection, IDictionary, IEnumerable, IEquatable<ImmutableEquatableDictionary<TKey, TValue>> where TKey : IEquatable<TKey> where TValue : IEquatable<TValue>

Type parameters

TKey
TValue

No documentation is available.

Implements

Properties

NameDescription
Count
Empty
Keys
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.IsReadOnly
System.Collections.Generic.IDictionary<TKey,TValue>.Keys
System.Collections.Generic.IDictionary<TKey,TValue>.Values
System.Collections.Generic.IReadOnlyDictionary<TKey,TValue>.Keys
System.Collections.Generic.IReadOnlyDictionary<TKey,TValue>.Values
System.Collections.ICollection.IsSynchronized
System.Collections.ICollection.SyncRoot
System.Collections.IDictionary.IsFixedSize
System.Collections.IDictionary.IsReadOnly
System.Collections.IDictionary.Keys
System.Collections.IDictionary.Values
Values
public int Count { get; }

Property value

int

No documentation is available.

public static ImmutableEquatableDictionary<TKey, TValue> Empty { get; }

No documentation is available.

public Dictionary<TKey, TValue>.KeyCollection Keys { get; }

No documentation is available.

System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.IsReadOnly

ImmutableEquatableDictionary.cs
bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly { get; }

Property value

bool

No documentation is available.

System.Collections.Generic.IDictionary<TKey,TValue>.Keys

ImmutableEquatableDictionary.cs
ICollection<TKey> IDictionary<TKey, TValue>.Keys { get; }

Property value

ICollection<TKey>

No documentation is available.

System.Collections.Generic.IDictionary<TKey,TValue>.Values

ImmutableEquatableDictionary.cs
ICollection<TValue> IDictionary<TKey, TValue>.Values { get; }

Property value

ICollection<TValue>

No documentation is available.

System.Collections.Generic.IReadOnlyDictionary<TKey,TValue>.Keys

ImmutableEquatableDictionary.cs
IEnumerable<TKey> IReadOnlyDictionary<TKey, TValue>.Keys { get; }

Property value

IEnumerable<TKey>

No documentation is available.

System.Collections.Generic.IReadOnlyDictionary<TKey,TValue>.Values

ImmutableEquatableDictionary.cs
IEnumerable<TValue> IReadOnlyDictionary<TKey, TValue>.Values { get; }

Property value

IEnumerable<TValue>

No documentation is available.

System.Collections.ICollection.IsSynchronized

ImmutableEquatableDictionary.cs
bool ICollection.IsSynchronized { get; }

Property value

bool

No documentation is available.

System.Collections.ICollection.SyncRoot

ImmutableEquatableDictionary.cs
object ICollection.SyncRoot { get; }

Property value

object

No documentation is available.

System.Collections.IDictionary.IsFixedSize

ImmutableEquatableDictionary.cs
bool IDictionary.IsFixedSize { get; }

Property value

bool

No documentation is available.

System.Collections.IDictionary.IsReadOnly

ImmutableEquatableDictionary.cs
bool IDictionary.IsReadOnly { get; }

Property value

bool

No documentation is available.

System.Collections.IDictionary.Keys

ImmutableEquatableDictionary.cs
ICollection IDictionary.Keys { get; }

Property value

ICollection

No documentation is available.

System.Collections.IDictionary.Values

ImmutableEquatableDictionary.cs
ICollection IDictionary.Values { get; }

Property value

ICollection

No documentation is available.

public Dictionary<TKey, TValue>.ValueCollection Values { get; }

No documentation is available.

Indexers

NameDescription
this[TKey]
this[TKey]
this[object]
public TValue this[TKey key] { get; }

Parameters

key TKey

Property value

TValue

No documentation is available.

TValue IDictionary<TKey, TValue>.this[TKey key] { get; set; }

Parameters

key TKey

Property value

TValue

No documentation is available.

object? IDictionary.this[object key] { get; set; }

Parameters

key object

Property value

object?

No documentation is available.

Methods

NameDescription
ContainsKey(TKey)
Equals(ImmutableEquatableDictionary<TKey, TValue>?)
Equals(object?)
GetEnumerator()
GetHashCode()
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Add(KeyValuePair<TKey, TValue>)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Clear()
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Contains(KeyValuePair<TKey, TValue>)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.CopyTo(KeyValuePair<TKey, TValue>[], int)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Remove(KeyValuePair<TKey, TValue>)
System.Collections.Generic.IDictionary<TKey,TValue>.Add(TKey, TValue)
System.Collections.Generic.IDictionary<TKey,TValue>.Remove(TKey)
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>>.GetEnumerator()
System.Collections.ICollection.CopyTo(Array, int)
System.Collections.IDictionary.Add(object, object?)
System.Collections.IDictionary.Clear()
System.Collections.IDictionary.Contains(object)
System.Collections.IDictionary.GetEnumerator()
System.Collections.IDictionary.Remove(object)
System.Collections.IEnumerable.GetEnumerator()
TryGetValue(TKey, TValue)
public bool ContainsKey(TKey key)

Parameters

key TKey

Returns

bool

No documentation is available.

Equals overloads

Equals(ImmutableEquatableDictionary<TKey, TValue>?)

ImmutableEquatableDictionary.cs
public bool Equals(ImmutableEquatableDictionary<TKey, TValue>? other)

No documentation is available.

public override bool Equals(object? obj)
Parameters
obj object?
Returns

bool

No documentation is available.

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

No documentation is available.

public override int GetHashCode()

Returns

int

No documentation is available.

System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Add(KeyValuePair<TKey, TValue>)

ImmutableEquatableDictionary.cs
void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item)

No documentation is available.

System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Clear()

ImmutableEquatableDictionary.cs
void ICollection<KeyValuePair<TKey, TValue>>.Clear()

No documentation is available.

System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Contains(KeyValuePair<TKey, TValue>)

ImmutableEquatableDictionary.cs
bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> item)

Parameters

item KeyValuePair<TKey, TValue>

Returns

bool

No documentation is available.

System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.CopyTo(KeyValuePair<TKey, TValue>[], int)

ImmutableEquatableDictionary.cs
void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)

Parameters

array KeyValuePair<TKey, TValue>[]
arrayIndex int

No documentation is available.

System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Remove(KeyValuePair<TKey, TValue>)

ImmutableEquatableDictionary.cs
bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item)

Parameters

item KeyValuePair<TKey, TValue>

Returns

bool

No documentation is available.

System.Collections.Generic.IDictionary<TKey,TValue>.Add(TKey, TValue)

ImmutableEquatableDictionary.cs
void IDictionary<TKey, TValue>.Add(TKey key, TValue value)

Parameters

key TKey
value TValue

No documentation is available.

System.Collections.Generic.IDictionary<TKey,TValue>.Remove(TKey)

ImmutableEquatableDictionary.cs
bool IDictionary<TKey, TValue>.Remove(TKey key)

Parameters

key TKey

Returns

bool

No documentation is available.

System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>>.GetEnumerator()

ImmutableEquatableDictionary.cs
IEnumerator<KeyValuePair<TKey, TValue>> IEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator()

No documentation is available.

System.Collections.ICollection.CopyTo(Array, int)

ImmutableEquatableDictionary.cs
void ICollection.CopyTo(Array array, int index)

Parameters

array Array
index int

No documentation is available.

System.Collections.IDictionary.Add(object, object?)

ImmutableEquatableDictionary.cs
void IDictionary.Add(object key, object? value)

Parameters

key object
value object?

No documentation is available.

System.Collections.IDictionary.Clear()

ImmutableEquatableDictionary.cs

No documentation is available.

System.Collections.IDictionary.Contains(object)

ImmutableEquatableDictionary.cs
bool IDictionary.Contains(object key)

Parameters

key object

Returns

bool

No documentation is available.

System.Collections.IDictionary.GetEnumerator()

ImmutableEquatableDictionary.cs

No documentation is available.

System.Collections.IDictionary.Remove(object)

ImmutableEquatableDictionary.cs
void IDictionary.Remove(object key)

Parameters

key object

No documentation is available.

System.Collections.IEnumerable.GetEnumerator()

ImmutableEquatableDictionary.cs
IEnumerator IEnumerable.GetEnumerator()

No documentation is available.

TryGetValue(TKey, TValue)

ImmutableEquatableDictionary.cs
public bool TryGetValue(TKey key, out TValue value)

Parameters

key TKey
value TValue

Returns

bool

No documentation is available.

Operators

NameDescription
operator ==(ImmutableEquatableDictionary<TKey, TValue>?, ImmutableEquatableDictionary<TKey, TValue>?)
operator !=(ImmutableEquatableDictionary<TKey, TValue>?, ImmutableEquatableDictionary<TKey, TValue>?)

operator ==(ImmutableEquatableDictionary<TKey, TValue>?, ImmutableEquatableDictionary<TKey, TValue>?)

ImmutableEquatableDictionary.cs
public static bool operator ==(ImmutableEquatableDictionary<TKey, TValue>? left, ImmutableEquatableDictionary<TKey, TValue>? right)

No documentation is available.

operator !=(ImmutableEquatableDictionary<TKey, TValue>?, ImmutableEquatableDictionary<TKey, TValue>?)

ImmutableEquatableDictionary.cs
public static bool operator !=(ImmutableEquatableDictionary<TKey, TValue>? left, ImmutableEquatableDictionary<TKey, TValue>? right)

No documentation is available.