Class DuckGenerator
Inherited Members
Namespace: Solti.Utils.Proxy.Generators
Assembly: Solti.Utils.Proxy.dll
Syntax
public sealed class DuckGenerator : Generator
Constructors
DuckGenerator(Type, Type)
Creates a new DuckGenerator instance.
Declaration
public DuckGenerator(Type iface, Type target)
Parameters
Type | Name | Description |
---|---|---|
System.Type | iface | |
System.Type | target |
Properties
Interface
The interface for which the proxy will be created.
Declaration
public Type Interface { get; }
Property Value
Type | Description |
---|---|
System.Type |
Target
The target implementing all the Interface members.
Declaration
public Type Target { get; }
Property Value
Type | Description |
---|---|
System.Type |