Class RpcClientFactory.MethodCallForwarder<TInterface>
Represents the underlying proxy.
Implements
IProxyAccess<TInterface>
Inherited Members
Namespace: Solti.Utils.Rpc
Assembly: Solti.Utils.Rpc.Client.dll
Syntax
public class MethodCallForwarder<TInterface> : InterfaceInterceptor<TInterface>, IHasTarget<TInterface>, IProxyAccess<TInterface> where TInterface : class
Type Parameters
| Name | Description |
|---|---|
| TInterface |
Remarks
This is an internal class, you should never use it.
Constructors
MethodCallForwarder(RpcClientFactory)
Creates a new RpcClientFactory.MethodCallForwarder<TInterface> instance.
Declaration
public MethodCallForwarder(RpcClientFactory owner)
Parameters
| Type | Name | Description |
|---|---|---|
| RpcClientFactory | owner |
Properties
Owner
The owner of this entity.
Declaration
public RpcClientFactory Owner { get; }
Property Value
| Type | Description |
|---|---|
| RpcClientFactory |
Methods
Invoke(InvocationContext)
Forwards the intercepted method calls to the Owner.
Declaration
public override object Invoke(InvocationContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InvocationContext | context |
Returns
| Type | Description |
|---|---|
| Object |
Overrides
Solti.Utils.Proxy.InterfaceInterceptor<TInterface>.Invoke(Solti.Utils.Proxy.InvocationContext)