Class GeneratedContractMetadataRegistry
- Namespace
- AnyProtocol
- Assembly
- AnyProtocol.dll
Stores and resolves generated contract metadata registrations.
public static class GeneratedContractMetadataRegistry
- Inheritance
-
GeneratedContractMetadataRegistry
- Inherited Members
Methods
GetSerializableTypes(Type)
Gets serializable types.
public static IReadOnlyList<Type> GetSerializableTypes(Type contractType)
Parameters
contractTypeTypeThe contract type.
Returns
- IReadOnlyList<Type>
The result of the get serializable types operation.
IsRegistered(Type)
Performs the is registered operation.
public static bool IsRegistered(Type contractType)
Parameters
contractTypeTypeThe contract type.
Returns
- bool
true when the operation succeeds; otherwise, false.
Register(Type, IReadOnlyList<Type>)
Registers .
public static void Register(Type contractType, IReadOnlyList<Type> serializableTypes)
Parameters
contractTypeTypeThe contract type.
serializableTypesIReadOnlyList<Type>The serializable types.