Class AspectInterceptor<TInterface>
Defines the base interceptor of aspects.
Inheritance
AspectInterceptor<TInterface>
Assembly: Solti.Utils.Rpc.Server.dll
Syntax
public abstract class AspectInterceptor<TInterface> : InterfaceInterceptor<TInterface>, IHasTarget<TInterface>, IProxyAccess<TInterface> where TInterface : class
Type Parameters
Name |
Description |
TInterface |
|
Constructors
AspectInterceptor(TInterface)
Declaration
protected AspectInterceptor(TInterface target)
Parameters
Type |
Name |
Description |
TInterface |
target |
|
Methods
Decorator(InvocationContext, Func<Object>)
Declaration
protected virtual object Decorator(InvocationContext context, Func<object> callNext)
Parameters
Returns
DecoratorAsync(InvocationContext, Func<Task>)
Declaration
protected virtual async Task<Task> DecoratorAsync(InvocationContext context, Func<Task> callNext)
Parameters
Returns
Invoke(InvocationContext)
Declaration
public override object Invoke(InvocationContext context)
Parameters
Returns
Overrides
Solti.Utils.Proxy.InterfaceInterceptor<TInterface>.Invoke(Solti.Utils.Proxy.InvocationContext)
Implements