Open sandboxFocus

Method GetTypeFromId

GetTypeFromId(SerializableTypeId, IReadOnlyDictionary<string, IType>?)

Gets a type from a serialized type identifier, optionally substituting generic arguments.

Declaration
IType GetTypeFromId(SerializableTypeId serializableTypeId, IReadOnlyDictionary<string, IType>? genericArguments)
Parameters
Type Name Description
SerializableTypeId serializableTypeId

The serialized type identifier.

IReadOnlyDictionary<string, IType> genericArguments

Optional dictionary mapping generic parameter names to their type arguments.

Returns
Type Description
IType

The type corresponding to the serialized identifier.