C# Class NetSerializer.TypeDictionary

Threadsafe Type -> T dictionary, which supports lockless reading.
Exibir arquivo Open project: tomba/netserializer

Public Methods

Method Description
ContainsKey ( Type key ) : bool
ToDictionary ( ) : uint>.Dictionary
TryGetValue ( Type key, NetSerializer.TypeData &value ) : bool
TypeDictionary ( ) : System
this ( Type key ) : NetSerializer.TypeData

Private Methods

Method Description
Add ( Pair buckets, Type key, NetSerializer.TypeData value ) : void
DebugDump ( ) : void
Hash ( Type key, int bucketsLen ) : int

Method Details

ContainsKey() public method

public ContainsKey ( Type key ) : bool
key System.Type
return bool

ToDictionary() public method

public ToDictionary ( ) : uint>.Dictionary
return uint>.Dictionary

TryGetValue() public method

public TryGetValue ( Type key, NetSerializer.TypeData &value ) : bool
key System.Type
value NetSerializer.TypeData
return bool

TypeDictionary() public method

public TypeDictionary ( ) : System
return System

this() public method

public this ( Type key ) : NetSerializer.TypeData
key System.Type
return NetSerializer.TypeData