Table of Contents

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

contractType Type

The 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

contractType Type

The 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

contractType Type

The contract type.

serializableTypes IReadOnlyList<Type>

The serializable types.