Class DuckGenerator<TInterface, TTarget>
Type generator for creating a proxy that wraps the TTarget
to implement the TInterface
.
Inheritance
System.Object
Generator<TInterface, DuckGenerator<TInterface, TTarget>>
DuckGenerator<TInterface, TTarget>
Inherited Members
Namespace: Solti.Utils.Proxy.Generators
Assembly: Solti.Utils.Proxy.dll
Syntax
public sealed class DuckGenerator<TInterface, TTarget> : Generator<TInterface, DuckGenerator<TInterface, TTarget>> where TInterface : class
Type Parameters
Name | Description |
---|---|
TInterface | The interface for which the proxy will be created. |
TTarget | The target implementing all the |
Constructors
DuckGenerator()
Declaration
public DuckGenerator()
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.DuckGenerator<TInterface, TTarget>>.GetConcreteGenerator()