Свойство | Тип | Описание | |
---|---|---|---|
targetInstance |
Метод | Описание | |
---|---|---|
BuildProxyType ( ) : |
Creates a proxy that delegates calls to an instance of the target object. Only interfaces can be proxied using composition, so the target must implement one or more interfaces. |
|
CompositionProxyTypeBuilder ( ) : System |
Creates a new instance of the CompositionProxyTypeBuilder class.
|
|
PushTarget ( |
Generates the IL instructions that pushes the target instance on which calls should be delegated to.
|
Метод | Описание | |
---|---|---|
CreateTargetProxyMethodBuilder ( |
Create an IProxyMethodBuilder to create interface implementations
|
|
DeclareTargetInstanceField ( |
Deaclares a field that holds the target object instance.
|
|
GenerateConstructor ( |
Generates the proxy constructor. This implementation creates instance of the target object for delegation using constructor arguments. |
|
ImplementCustom ( |
Allows subclasses to generate additional code
|
public CompositionProxyTypeBuilder ( ) : System | ||
Результат | System |
protected CreateTargetProxyMethodBuilder ( |
||
typeBuilder | ||
Результат | IProxyMethodBuilder |
protected DeclareTargetInstanceField ( |
||
builder |
/// The |
|
Результат | void |
protected GenerateConstructor ( |
||
builder | The constructor builder to use. | |
il | The IL generator to use. | |
constructor | The constructor to delegate the creation to. | |
Результат | void |
protected ImplementCustom ( |
||
builder | ||
Результат | void |
public PushTarget ( |
||
il | The IL generator to use. | |
Результат | void |