C# Class MonoDevelop.Monobjc.CodeGeneration.VBNetCodeBehindGenerator

VBNet implementation for a code-behind generator.
Inheritance: BaseCodeBehindGenerator
ファイルを表示 Open project: Monobjc/monobjc-monodevelop

Protected Methods

Method Description
GenerateActionPartialMethod ( string message, IType argumentType ) : CodeTypeMember

Generates the partial method for an action.

GenerateFrameworkLoadingcode ( String frameworks ) : IEnumerable

Generates the framework loading code which is language specific.

GenerateGetInstanceVariableStatement ( System.CodeDom.CodeThisReferenceExpression thisRef, CodeTypeReference typeRef, CodePrimitiveExpression nameRef ) : CodeStatement

Generates the "GetInstanceVariable" statement.

GenerateSetInstanceVariableStatement ( System.CodeDom.CodeThisReferenceExpression thisRef, CodeTypeReference typeRef, CodePrimitiveExpression nameRef, System.CodeDom.CodePropertySetValueReferenceExpression valueRef ) : System.CodeDom.CodeExpression

Generates the "SetInstanceVariable" statement.

IsDesignerRegionDelimiter ( String line, bool start ) : bool

Determines whether a line is a region delimiter.

Method Details

GenerateActionPartialMethod() protected method

Generates the partial method for an action.
protected GenerateActionPartialMethod ( string message, IType argumentType ) : CodeTypeMember
message string The message.
argumentType IType Type of the argument.
return System.CodeDom.CodeTypeMember

GenerateFrameworkLoadingcode() protected method

Generates the framework loading code which is language specific.
protected GenerateFrameworkLoadingcode ( String frameworks ) : IEnumerable
frameworks String The frameworks.
return IEnumerable

GenerateGetInstanceVariableStatement() protected method

Generates the "GetInstanceVariable" statement.
protected GenerateGetInstanceVariableStatement ( System.CodeDom.CodeThisReferenceExpression thisRef, CodeTypeReference typeRef, CodePrimitiveExpression nameRef ) : CodeStatement
thisRef System.CodeDom.CodeThisReferenceExpression This reference.
typeRef System.CodeDom.CodeTypeReference Type reference.
nameRef System.CodeDom.CodePrimitiveExpression Name reference.
return System.CodeDom.CodeStatement

GenerateSetInstanceVariableStatement() protected method

Generates the "SetInstanceVariable" statement.
protected GenerateSetInstanceVariableStatement ( System.CodeDom.CodeThisReferenceExpression thisRef, CodeTypeReference typeRef, CodePrimitiveExpression nameRef, System.CodeDom.CodePropertySetValueReferenceExpression valueRef ) : System.CodeDom.CodeExpression
thisRef System.CodeDom.CodeThisReferenceExpression This reference.
typeRef System.CodeDom.CodeTypeReference Type reference.
nameRef System.CodeDom.CodePrimitiveExpression Name reference.
valueRef System.CodeDom.CodePropertySetValueReferenceExpression Value reference
return System.CodeDom.CodeExpression

IsDesignerRegionDelimiter() protected method

Determines whether a line is a region delimiter.
protected IsDesignerRegionDelimiter ( String line, bool start ) : bool
line String The line.
start bool if set to true, check for a region start.
return bool