Table of Contents

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

contractType Type

The contract type.

invoker IClientInvoker

The invoker.

Returns

object

The value produced by the operation.

Create<TContract>(IClientInvoker)

Creates .

TContract Create<TContract>(IClientInvoker invoker) where TContract : class

Parameters

invoker IClientInvoker

The invoker.

Returns

TContract

The value produced by the operation.

Type Parameters

TContract

The contract type.