Interface IContractProxyFactory
- Namespace
- AnyProtocol.Abstraction
- Assembly
- AnyProtocol.Abstraction.dll
Defines operations for contract proxy.
public interface IContractProxyFactory
Methods
Create(Type, IClientInvoker)
Creates .
object Create(Type contractType, IClientInvoker invoker)
Parameters
contractTypeTypeThe contract type.
invokerIClientInvokerThe invoker.
Returns
- object
The value produced by the operation.
Create<TContract>(IClientInvoker)
Creates .
TContract Create<TContract>(IClientInvoker invoker) where TContract : class
Parameters
invokerIClientInvokerThe invoker.
Returns
- TContract
The value produced by the operation.
Type Parameters
TContractThe contract type.