Class ProxyGenerator
Type generator for creating proxies that intercept interface method calls.
Inherited Members
Namespace: Solti.Utils.Proxy.Generators
Assembly: Solti.Utils.Proxy.dll
Syntax
public sealed class ProxyGenerator : Generator
Constructors
ProxyGenerator(Type, Type)
Creates a new ProxyGenerator instance.
Declaration
public ProxyGenerator(Type iface, Type interceptor)
Parameters
Type | Name | Description |
---|---|---|
System.Type | iface | |
System.Type | interceptor |
Properties
Interceptor
An InterfaceInterceptor<TInterface> descendant that has at least one public constructor.
Declaration
public Type Interceptor { get; }
Property Value
Type | Description |
---|---|
System.Type |
Interface
The interface for which the proxy will be created.
Declaration
public Type Interface { get; }
Property Value
Type | Description |
---|---|
System.Type |