Class ProxyGenerator<TInterface, TInterceptor>
Type generator for creating proxies that intercept interface method calls.
Inheritance
System.Object
Generator<TInterface, ProxyGenerator<TInterface, TInterceptor>>
ProxyGenerator<TInterface, TInterceptor>
Inherited Members
Namespace: Solti.Utils.Proxy.Generators
Assembly: Solti.Utils.Proxy.dll
Syntax
public sealed class ProxyGenerator<TInterface, TInterceptor> : Generator<TInterface, ProxyGenerator<TInterface, TInterceptor>> where TInterface : class where TInterceptor : InterfaceInterceptorBase<TInterface>
Type Parameters
Name | Description |
---|---|
TInterface | The interface for which the proxy will be created. |
TInterceptor | An InterfaceInterceptor<TInterface, TTarget> descendant that has at least one public constructor. |
Constructors
ProxyGenerator()
Declaration
public ProxyGenerator()
Methods
GetConcreteGenerator()
Gets the concrete generator.
Declaration
protected override Generator GetConcreteGenerator()
Returns
Type | Description |
---|---|
Generator |
Overrides
Solti.Utils.Proxy.Internals.Generator<TInterface, Solti.Utils.Proxy.Generators.ProxyGenerator<TInterface, TInterceptor>>.GetConcreteGenerator()