Click or drag to resize
DefaultConcreteTypeRepositoryGet Method
Gets the default type for the collection.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public Type Get(
	Type abstractCollectionType
)

Parameters

abstractCollectionType
Type: SystemType
Type of the abstract collection.

Return Value

Type: Type
Type of default concrete collection. If concrete collection type of abstractCollectionType, then returns null.
Exceptions
ExceptionCondition
ArgumentNullExceptionabstractCollectionType is null.
Remarks
By default, following types are registered:
Abstract Collection TypeConcrete Default Collection Type
IEnumerableTListT
ICollectionTListT
ISet{T} (.NET 4 or lator)HashSetT
IListTListT
IDictionaryTKey, TValueDictionaryTKey, TValue
IEnumerableListT of MessagePackObject.
ICollectionListT of MessagePackObject.
IListListT of MessagePackObject.
IDictionaryMessagePackObjectDictionary
See Also