Table of Contents

Class GeneratedContractProxyRegistry

Namespace
AnyProtocol
Assembly
AnyProtocol.dll

Stores and resolves generated contract proxy registrations.

public static class GeneratedContractProxyRegistry
Inheritance
GeneratedContractProxyRegistry
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<IClientInvoker, ContractDescriptorFactory, object>)

Registers .

public static void Register(Type contractType, Func<IClientInvoker, ContractDescriptorFactory, object> factory)

Parameters

contractType Type

The contract type.

factory Func<IClientInvoker, ContractDescriptorFactory, object>

The factory used to create the instance.