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
contractTypeTypeThe 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
contractTypeTypeThe contract type.
factoryFunc<IClientInvoker, ContractDescriptorFactory, object>The factory used to create the instance.