C# Class Stetic.GeneratorContext

Mostrar archivo Open project: mono/stetic Class Usage Examples

Public Methods

Method Description
EndGeneration ( ) : void
GenerateBuildCode ( ObjectWrapper wrapper, System.CodeDom.CodeExpression var ) : void
GenerateCreationCode ( ObjectWrapper wrapper, System.CodeDom.CodeExpression varExp ) : void
GenerateCreationCode ( Wrapper agroup, System.CodeDom.CodeExpression var ) : void
GenerateInstanceExpression ( ObjectWrapper wrapper, System.CodeDom.CodeExpression newObject ) : System.CodeDom.CodeExpression
GenerateLoadPixbuf ( string name, Gtk size ) : System.CodeDom.CodeExpression
GenerateNewInstanceCode ( Wrapper widget ) : System.CodeDom.CodeExpression
GenerateValue ( object value, Type type ) : System.CodeDom.CodeExpression
GenerateValue ( object value, Type type, bool translatable ) : System.CodeDom.CodeExpression
GeneratorContext ( CodeNamespace cns, string idPrefix, CodeStatementCollection statements, GenerationOptions options ) : System
NewId ( ) : string
ReportWarning ( string s ) : void
Reset ( ) : void

Method Details

EndGeneration() public method

public EndGeneration ( ) : void
return void

GenerateBuildCode() public method

public GenerateBuildCode ( ObjectWrapper wrapper, System.CodeDom.CodeExpression var ) : void
wrapper ObjectWrapper
var System.CodeDom.CodeExpression
return void

GenerateCreationCode() public method

public GenerateCreationCode ( ObjectWrapper wrapper, System.CodeDom.CodeExpression varExp ) : void
wrapper ObjectWrapper
varExp System.CodeDom.CodeExpression
return void

GenerateCreationCode() public method

public GenerateCreationCode ( Wrapper agroup, System.CodeDom.CodeExpression var ) : void
agroup Wrapper
var System.CodeDom.CodeExpression
return void

GenerateInstanceExpression() public method

public GenerateInstanceExpression ( ObjectWrapper wrapper, System.CodeDom.CodeExpression newObject ) : System.CodeDom.CodeExpression
wrapper ObjectWrapper
newObject System.CodeDom.CodeExpression
return System.CodeDom.CodeExpression

GenerateLoadPixbuf() public method

public GenerateLoadPixbuf ( string name, Gtk size ) : System.CodeDom.CodeExpression
name string
size Gtk
return System.CodeDom.CodeExpression

GenerateNewInstanceCode() public method

public GenerateNewInstanceCode ( Wrapper widget ) : System.CodeDom.CodeExpression
widget Wrapper
return System.CodeDom.CodeExpression

GenerateValue() public method

public GenerateValue ( object value, Type type ) : System.CodeDom.CodeExpression
value object
type System.Type
return System.CodeDom.CodeExpression

GenerateValue() public method

public GenerateValue ( object value, Type type, bool translatable ) : System.CodeDom.CodeExpression
value object
type System.Type
translatable bool
return System.CodeDom.CodeExpression

GeneratorContext() public method

public GeneratorContext ( CodeNamespace cns, string idPrefix, CodeStatementCollection statements, GenerationOptions options ) : System
cns System.CodeDom.CodeNamespace
idPrefix string
statements System.CodeDom.CodeStatementCollection
options GenerationOptions
return System

NewId() public method

public NewId ( ) : string
return string

ReportWarning() public method

public ReportWarning ( string s ) : void
s string
return void

Reset() public method

public Reset ( ) : void
return void