Table of Contents

Class GeneratedContractDescriptorRegistry

Namespace
AnyProtocol
Assembly
AnyProtocol.dll

Stores and resolves generated contract descriptor registrations.

public static class GeneratedContractDescriptorRegistry
Inheritance
GeneratedContractDescriptorRegistry
Inherited Members

Methods

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, Func<string, ContractDescriptor>)

Registers .

public static void Register(Type contractType, Func<string, ContractDescriptor> factory)

Parameters

contractType Type

The contract type.

factory Func<string, ContractDescriptor>

The factory used to create the instance.