Table of Contents

Class CodecCollection<K, V>

Namespace
Obsidian.API.Registry.Codecs
Assembly
Obsidian.API.dll
public class CodecCollection<K, V> : ConcurrentDictionary<K, V>, IDictionary<K, V>, ICollection<KeyValuePair<K, V>>, IDictionary, ICollection, IReadOnlyDictionary<K, V>, IReadOnlyCollection<KeyValuePair<K, V>>, IEnumerable<KeyValuePair<K, V>>, IEnumerable where K : notnull

Type Parameters

K
V
Inheritance
CodecCollection<K, V>
Implements
Inherited Members

Constructors

CodecCollection(string)

public CodecCollection(string name)

Parameters

name string

Properties

Name

public string Name { get; }

Property Value

string

Methods

Add(K, V)

public bool Add(K key, V value)

Parameters

key K
value V

Returns

bool