C# Class SlimDX.Generator.IndirectFormatter

Inheritance: Formatter
Afficher le fichier Open project: SlimDX/SlimDX-v2

Méthodes publiques

Méthode Description
GetFormalParameterCode ( SlimDX.Generator.ParameterModel model ) : string

Gets the code for declaring the specified model as a parameter to a managed method.

GetLocalVariableCleanupCode ( SlimDX.Generator.ParameterModel model ) : string

Gets the code for cleanup of local variables related to the specified parameter.

GetLocalVariableSetupCode ( MarshallingService marshaller, SlimDX.Generator.ParameterModel model ) : string

Gets the code for setup of local variables related to the specified parameter.

GetTrampolineParameterCode ( SlimDX.Generator.ParameterModel model ) : string

Gets the code for passing the specified model as parameter to a trampoline method.

Method Details

GetFormalParameterCode() public méthode

Gets the code for declaring the specified model as a parameter to a managed method.
public GetFormalParameterCode ( SlimDX.Generator.ParameterModel model ) : string
model SlimDX.Generator.ParameterModel The model.
Résultat string

GetLocalVariableCleanupCode() public méthode

Gets the code for cleanup of local variables related to the specified parameter.
public GetLocalVariableCleanupCode ( SlimDX.Generator.ParameterModel model ) : string
model SlimDX.Generator.ParameterModel The model.
Résultat string

GetLocalVariableSetupCode() public méthode

Gets the code for setup of local variables related to the specified parameter.
public GetLocalVariableSetupCode ( MarshallingService marshaller, SlimDX.Generator.ParameterModel model ) : string
marshaller MarshallingService The marshalling service interface.
model SlimDX.Generator.ParameterModel The model.
Résultat string

GetTrampolineParameterCode() public méthode

Gets the code for passing the specified model as parameter to a trampoline method.
public GetTrampolineParameterCode ( SlimDX.Generator.ParameterModel model ) : string
model SlimDX.Generator.ParameterModel The model.
Résultat string