Method | Description | |
---|---|---|
GenerateCodeFromMember ( CodeTypeMember member, TextWriter writer, CodeGeneratorOptions options ) : void | ||
IsValidLanguageIndependentIdentifier ( string value ) : bool | ||
ValidateIdentifiers ( CodeObject e ) : void |
Method | Description | |
---|---|---|
ContinueOnNewLine ( string st ) : void | ||
CreateEscapedIdentifier ( string value ) : string | ||
CreateValidIdentifier ( string value ) : string | ||
GenerateArgumentReferenceExpression ( CodeArgumentReferenceExpression e ) : void | ||
GenerateArrayCreateExpression ( CodeArrayCreateExpression e ) : void | ||
GenerateArrayIndexerExpression ( CodeArrayIndexerExpression e ) : void | ||
GenerateAssignStatement ( CodeAssignStatement e ) : void | ||
GenerateAttachEventStatement ( CodeAttachEventStatement e ) : void | ||
GenerateAttributeDeclarationsEnd ( CodeAttributeDeclarationCollection attributes ) : void | ||
GenerateAttributeDeclarationsStart ( CodeAttributeDeclarationCollection attributes ) : void | ||
GenerateBaseReferenceExpression ( CodeBaseReferenceExpression e ) : void | ||
GenerateBinaryOperatorExpression ( CodeBinaryOperatorExpression e ) : void | ||
GenerateCastExpression ( CodeCastExpression e ) : void | ||
GenerateComment ( CodeComment e ) : void | ||
GenerateCommentStatement ( CodeCommentStatement e ) : void | ||
GenerateCommentStatements ( CodeCommentStatementCollection e ) : void | ||
GenerateCompileUnit ( CodeCompileUnit e ) : void | ||
GenerateCompileUnitEnd ( CodeCompileUnit e ) : void | ||
GenerateCompileUnitStart ( CodeCompileUnit e ) : void | ||
GenerateConditionStatement ( CodeConditionStatement e ) : void | ||
GenerateConstructor ( CodeConstructor e, CodeTypeDeclaration c ) : void | ||
GenerateDecimalValue ( decimal d ) : void | ||
GenerateDefaultValueExpression ( CodeDefaultValueExpression e ) : void | ||
GenerateDelegateCreateExpression ( CodeDelegateCreateExpression e ) : void | ||
GenerateDelegateInvokeExpression ( CodeDelegateInvokeExpression e ) : void | ||
GenerateDirectionExpression ( CodeDirectionExpression e ) : void | ||
GenerateDirectives ( CodeDirectiveCollection directives ) : void | ||
GenerateDoubleValue ( double d ) : void | ||
GenerateEntryPointMethod ( CodeEntryPointMethod e, CodeTypeDeclaration c ) : void | ||
GenerateEvent ( CodeMemberEvent e, CodeTypeDeclaration c ) : void | ||
GenerateEventReferenceExpression ( CodeEventReferenceExpression e ) : void | ||
GenerateExpression ( CodeExpression e ) : void | ||
GenerateExpressionStatement ( CodeExpressionStatement e ) : void | ||
GenerateField ( CodeMemberField e ) : void | ||
GenerateFieldReferenceExpression ( CodeFieldReferenceExpression e ) : void | ||
GenerateGotoStatement ( CodeGotoStatement e ) : void | ||
GenerateIndexerExpression ( CodeIndexerExpression e ) : void | ||
GenerateIterationStatement ( CodeIterationStatement e ) : void | ||
GenerateLabeledStatement ( CodeLabeledStatement e ) : void | ||
GenerateLinePragmaEnd ( CodeLinePragma e ) : void | ||
GenerateLinePragmaStart ( CodeLinePragma e ) : void | ||
GenerateMethod ( CodeMemberMethod e, CodeTypeDeclaration c ) : void | ||
GenerateMethodInvokeExpression ( CodeMethodInvokeExpression e ) : void | ||
GenerateMethodReferenceExpression ( CodeMethodReferenceExpression e ) : void | ||
GenerateMethodReturnStatement ( CodeMethodReturnStatement e ) : void | ||
GenerateNamespace ( CodeNamespace e ) : void | ||
GenerateNamespaceEnd ( CodeNamespace e ) : void | ||
GenerateNamespaceImport ( CodeNamespaceImport e ) : void | ||
GenerateNamespaceImports ( CodeNamespace e ) : void | ||
GenerateNamespaceStart ( CodeNamespace e ) : void | ||
GenerateNamespaces ( CodeCompileUnit e ) : void | ||
GenerateObjectCreateExpression ( CodeObjectCreateExpression e ) : void | ||
GenerateParameterDeclarationExpression ( CodeParameterDeclarationExpression e ) : void | ||
GeneratePrimitiveExpression ( CodePrimitiveExpression e ) : void | ||
GenerateProperty ( CodeMemberProperty e, CodeTypeDeclaration c ) : void | ||
GeneratePropertyReferenceExpression ( CodePropertyReferenceExpression e ) : void | ||
GeneratePropertySetValueReferenceExpression ( CodePropertySetValueReferenceExpression e ) : void | ||
GenerateRemoveEventStatement ( CodeRemoveEventStatement e ) : void | ||
GenerateSingleFloatValue ( float s ) : void | ||
GenerateSnippetCompileUnit ( CodeSnippetCompileUnit e ) : void | ||
GenerateSnippetExpression ( CodeSnippetExpression e ) : void | ||
GenerateSnippetMember ( CodeSnippetTypeMember e ) : void | ||
GenerateSnippetStatement ( CodeSnippetStatement e ) : void | ||
GenerateStatement ( CodeStatement e ) : void | ||
GenerateStatements ( CodeStatementCollection stmts ) : void | ||
GenerateThisReferenceExpression ( CodeThisReferenceExpression e ) : void | ||
GenerateThrowExceptionStatement ( CodeThrowExceptionStatement e ) : void | ||
GenerateTryCatchFinallyStatement ( CodeTryCatchFinallyStatement e ) : void | ||
GenerateTypeConstructor ( CodeTypeConstructor e ) : void | ||
GenerateTypeEnd ( CodeTypeDeclaration e ) : void | ||
GenerateTypeOfExpression ( CodeTypeOfExpression e ) : void | ||
GenerateTypeReferenceExpression ( CodeTypeReferenceExpression e ) : void | ||
GenerateTypeStart ( CodeTypeDeclaration e ) : void | ||
GenerateTypes ( CodeNamespace e ) : void | ||
GenerateVariableDeclarationStatement ( CodeVariableDeclarationStatement e ) : void | ||
GenerateVariableReferenceExpression ( CodeVariableReferenceExpression e ) : void | ||
GetTypeOutput ( CodeTypeReference value ) : string | ||
IsValidIdentifier ( string value ) : bool | ||
OutputAttributeArgument ( CodeAttributeArgument arg ) : void | ||
OutputAttributeDeclarations ( CodeAttributeDeclarationCollection attributes ) : void | ||
OutputDirection ( FieldDirection dir ) : void | ||
OutputExpressionList ( CodeExpressionCollection expressions ) : void | ||
OutputExpressionList ( CodeExpressionCollection expressions, bool newlineBetweenItems ) : void | ||
OutputFieldScopeModifier ( MemberAttributes attributes ) : void | ||
OutputIdentifier ( string ident ) : void | ||
OutputMemberAccessModifier ( MemberAttributes attributes ) : void | ||
OutputMemberScopeModifier ( MemberAttributes attributes ) : void | ||
OutputOperator ( CodeBinaryOperatorType op ) : void | ||
OutputParameters ( CodeParameterDeclarationExpressionCollection parameters ) : void | ||
OutputType ( CodeTypeReference typeRef ) : void | ||
OutputTypeAttributes ( TypeAttributes attributes, bool isStruct, bool isEnum ) : void | ||
OutputTypeNamePair ( CodeTypeReference typeRef, string name ) : void | ||
QuoteSnippetString ( string value ) : string | ||
Supports ( GeneratorSupport support ) : bool | ||
ValidateIdentifier ( string value ) : void |
Method | Description | |
---|---|---|
GenerateConstructors ( CodeTypeDeclaration e ) : void | ||
GenerateEvents ( CodeTypeDeclaration e ) : void | ||
GenerateFields ( CodeTypeDeclaration e ) : void | ||
GenerateMethods ( CodeTypeDeclaration e ) : void | ||
GenerateNestedTypes ( CodeTypeDeclaration e ) : void | ||
GenerateProperties ( CodeTypeDeclaration e ) : void | ||
GenerateSnippetMembers ( CodeTypeDeclaration e ) : void | ||
GenerateType ( CodeTypeDeclaration e ) : void | ||
GenerateTypeConstructors ( CodeTypeDeclaration e ) : void | ||
GenerateTypeMember ( CodeTypeMember member, CodeTypeDeclaration declaredType ) : void | ||
ICodeGenerator ( GeneratorSupport support ) : bool | ||
ICodeGenerator ( string value ) : bool | ||
ICodeGenerator ( CodeTypeReference type ) : string | ||
ICodeGenerator ( string value ) : string | ||
ICodeGenerator ( CodeCompileUnit e, TextWriter w, CodeGeneratorOptions o ) : void | ||
ICodeGenerator ( CodeExpression e, TextWriter w, CodeGeneratorOptions o ) : void | ||
ICodeGenerator ( CodeNamespace e, TextWriter w, CodeGeneratorOptions o ) : void | ||
ICodeGenerator ( CodeStatement e, TextWriter w, CodeGeneratorOptions o ) : void | ||
ICodeGenerator ( CodeTypeDeclaration e, TextWriter w, CodeGeneratorOptions o ) : void | ||
ICodeGenerator ( string value ) : void | ||
IsValidLanguageIndependentTypeName ( string value ) : bool |
protected ContinueOnNewLine ( string st ) : void | ||
st | string | |
return | void |
protected abstract CreateEscapedIdentifier ( string value ) : string | ||
value | string | |
return | string |
protected abstract CreateValidIdentifier ( string value ) : string | ||
value | string | |
return | string |
protected abstract GenerateArgumentReferenceExpression ( CodeArgumentReferenceExpression e ) : void | ||
e | CodeArgumentReferenceExpression | |
return | void |
protected abstract GenerateArrayCreateExpression ( CodeArrayCreateExpression e ) : void | ||
e | CodeArrayCreateExpression | |
return | void |
protected abstract GenerateArrayIndexerExpression ( CodeArrayIndexerExpression e ) : void | ||
e | CodeArrayIndexerExpression | |
return | void |
protected abstract GenerateAssignStatement ( CodeAssignStatement e ) : void | ||
e | CodeAssignStatement | |
return | void |
protected abstract GenerateAttachEventStatement ( CodeAttachEventStatement e ) : void | ||
e | CodeAttachEventStatement | |
return | void |
protected abstract GenerateAttributeDeclarationsEnd ( CodeAttributeDeclarationCollection attributes ) : void | ||
attributes | CodeAttributeDeclarationCollection | |
return | void |
protected abstract GenerateAttributeDeclarationsStart ( CodeAttributeDeclarationCollection attributes ) : void | ||
attributes | CodeAttributeDeclarationCollection | |
return | void |
protected abstract GenerateBaseReferenceExpression ( CodeBaseReferenceExpression e ) : void | ||
e | CodeBaseReferenceExpression | |
return | void |
protected GenerateBinaryOperatorExpression ( CodeBinaryOperatorExpression e ) : void | ||
e | CodeBinaryOperatorExpression | |
return | void |
protected abstract GenerateCastExpression ( CodeCastExpression e ) : void | ||
e | CodeCastExpression | |
return | void |
public GenerateCodeFromMember ( CodeTypeMember member, TextWriter writer, CodeGeneratorOptions options ) : void | ||
member | CodeTypeMember | |
writer | TextWriter | |
options | CodeGeneratorOptions | |
return | void |
protected abstract GenerateComment ( CodeComment e ) : void | ||
e | CodeComment | |
return | void |
protected GenerateCommentStatement ( CodeCommentStatement e ) : void | ||
e | CodeCommentStatement | |
return | void |
protected GenerateCommentStatements ( CodeCommentStatementCollection e ) : void | ||
e | CodeCommentStatementCollection | |
return | void |
protected GenerateCompileUnit ( CodeCompileUnit e ) : void | ||
e | CodeCompileUnit | |
return | void |
protected GenerateCompileUnitEnd ( CodeCompileUnit e ) : void | ||
e | CodeCompileUnit | |
return | void |
protected GenerateCompileUnitStart ( CodeCompileUnit e ) : void | ||
e | CodeCompileUnit | |
return | void |
protected abstract GenerateConditionStatement ( CodeConditionStatement e ) : void | ||
e | CodeConditionStatement | |
return | void |
protected abstract GenerateConstructor ( CodeConstructor e, CodeTypeDeclaration c ) : void | ||
e | CodeConstructor | |
c | CodeTypeDeclaration | |
return | void |
protected GenerateDecimalValue ( decimal d ) : void | ||
d | decimal | |
return | void |
protected GenerateDefaultValueExpression ( CodeDefaultValueExpression e ) : void | ||
e | CodeDefaultValueExpression | |
return | void |
protected abstract GenerateDelegateCreateExpression ( CodeDelegateCreateExpression e ) : void | ||
e | CodeDelegateCreateExpression | |
return | void |
protected abstract GenerateDelegateInvokeExpression ( CodeDelegateInvokeExpression e ) : void | ||
e | CodeDelegateInvokeExpression | |
return | void |
protected GenerateDirectionExpression ( CodeDirectionExpression e ) : void | ||
e | CodeDirectionExpression | |
return | void |
protected GenerateDirectives ( CodeDirectiveCollection directives ) : void | ||
directives | CodeDirectiveCollection | |
return | void |
protected GenerateDoubleValue ( double d ) : void | ||
d | double | |
return | void |
protected abstract GenerateEntryPointMethod ( CodeEntryPointMethod e, CodeTypeDeclaration c ) : void | ||
e | CodeEntryPointMethod | |
c | CodeTypeDeclaration | |
return | void |
protected abstract GenerateEvent ( CodeMemberEvent e, CodeTypeDeclaration c ) : void | ||
e | CodeMemberEvent | |
c | CodeTypeDeclaration | |
return | void |
protected abstract GenerateEventReferenceExpression ( CodeEventReferenceExpression e ) : void | ||
e | CodeEventReferenceExpression | |
return | void |
protected GenerateExpression ( CodeExpression e ) : void | ||
e | CodeExpression | |
return | void |
protected abstract GenerateExpressionStatement ( CodeExpressionStatement e ) : void | ||
e | CodeExpressionStatement | |
return | void |
protected abstract GenerateField ( CodeMemberField e ) : void | ||
e | CodeMemberField | |
return | void |
protected abstract GenerateFieldReferenceExpression ( CodeFieldReferenceExpression e ) : void | ||
e | CodeFieldReferenceExpression | |
return | void |
protected abstract GenerateGotoStatement ( CodeGotoStatement e ) : void | ||
e | CodeGotoStatement | |
return | void |
protected abstract GenerateIndexerExpression ( CodeIndexerExpression e ) : void | ||
e | CodeIndexerExpression | |
return | void |
protected abstract GenerateIterationStatement ( CodeIterationStatement e ) : void | ||
e | CodeIterationStatement | |
return | void |
protected abstract GenerateLabeledStatement ( CodeLabeledStatement e ) : void | ||
e | CodeLabeledStatement | |
return | void |
protected abstract GenerateLinePragmaEnd ( CodeLinePragma e ) : void | ||
e | CodeLinePragma | |
return | void |
protected abstract GenerateLinePragmaStart ( CodeLinePragma e ) : void | ||
e | CodeLinePragma | |
return | void |
protected abstract GenerateMethod ( CodeMemberMethod e, CodeTypeDeclaration c ) : void | ||
e | CodeMemberMethod | |
c | CodeTypeDeclaration | |
return | void |
protected abstract GenerateMethodInvokeExpression ( CodeMethodInvokeExpression e ) : void | ||
e | CodeMethodInvokeExpression | |
return | void |
protected abstract GenerateMethodReferenceExpression ( CodeMethodReferenceExpression e ) : void | ||
e | CodeMethodReferenceExpression | |
return | void |
protected abstract GenerateMethodReturnStatement ( CodeMethodReturnStatement e ) : void | ||
e | CodeMethodReturnStatement | |
return | void |
protected GenerateNamespace ( CodeNamespace e ) : void | ||
e | CodeNamespace | |
return | void |
protected abstract GenerateNamespaceEnd ( CodeNamespace e ) : void | ||
e | CodeNamespace | |
return | void |
protected abstract GenerateNamespaceImport ( CodeNamespaceImport e ) : void | ||
e | CodeNamespaceImport | |
return | void |
protected GenerateNamespaceImports ( CodeNamespace e ) : void | ||
e | CodeNamespace | |
return | void |
protected abstract GenerateNamespaceStart ( CodeNamespace e ) : void | ||
e | CodeNamespace | |
return | void |
protected GenerateNamespaces ( CodeCompileUnit e ) : void | ||
e | CodeCompileUnit | |
return | void |
protected abstract GenerateObjectCreateExpression ( CodeObjectCreateExpression e ) : void | ||
e | CodeObjectCreateExpression | |
return | void |
protected GenerateParameterDeclarationExpression ( CodeParameterDeclarationExpression e ) : void | ||
e | CodeParameterDeclarationExpression | |
return | void |
protected GeneratePrimitiveExpression ( CodePrimitiveExpression e ) : void | ||
e | CodePrimitiveExpression | |
return | void |
protected abstract GenerateProperty ( CodeMemberProperty e, CodeTypeDeclaration c ) : void | ||
e | CodeMemberProperty | |
c | CodeTypeDeclaration | |
return | void |
protected abstract GeneratePropertyReferenceExpression ( CodePropertyReferenceExpression e ) : void | ||
e | CodePropertyReferenceExpression | |
return | void |
protected abstract GeneratePropertySetValueReferenceExpression ( CodePropertySetValueReferenceExpression e ) : void | ||
e | CodePropertySetValueReferenceExpression | |
return | void |
protected abstract GenerateRemoveEventStatement ( CodeRemoveEventStatement e ) : void | ||
e | CodeRemoveEventStatement | |
return | void |
protected GenerateSingleFloatValue ( float s ) : void | ||
s | float | |
return | void |
protected GenerateSnippetCompileUnit ( CodeSnippetCompileUnit e ) : void | ||
e | CodeSnippetCompileUnit | |
return | void |
protected abstract GenerateSnippetExpression ( CodeSnippetExpression e ) : void | ||
e | CodeSnippetExpression | |
return | void |
protected abstract GenerateSnippetMember ( CodeSnippetTypeMember e ) : void | ||
e | CodeSnippetTypeMember | |
return | void |
protected GenerateSnippetStatement ( CodeSnippetStatement e ) : void | ||
e | CodeSnippetStatement | |
return | void |
protected GenerateStatement ( CodeStatement e ) : void | ||
e | CodeStatement | |
return | void |
protected GenerateStatements ( CodeStatementCollection stmts ) : void | ||
stmts | CodeStatementCollection | |
return | void |
protected abstract GenerateThisReferenceExpression ( CodeThisReferenceExpression e ) : void | ||
e | CodeThisReferenceExpression | |
return | void |
protected abstract GenerateThrowExceptionStatement ( CodeThrowExceptionStatement e ) : void | ||
e | CodeThrowExceptionStatement | |
return | void |
protected abstract GenerateTryCatchFinallyStatement ( CodeTryCatchFinallyStatement e ) : void | ||
e | CodeTryCatchFinallyStatement | |
return | void |
protected abstract GenerateTypeConstructor ( CodeTypeConstructor e ) : void | ||
e | CodeTypeConstructor | |
return | void |
protected abstract GenerateTypeEnd ( CodeTypeDeclaration e ) : void | ||
e | CodeTypeDeclaration | |
return | void |
protected GenerateTypeOfExpression ( CodeTypeOfExpression e ) : void | ||
e | CodeTypeOfExpression | |
return | void |
protected GenerateTypeReferenceExpression ( CodeTypeReferenceExpression e ) : void | ||
e | CodeTypeReferenceExpression | |
return | void |
protected abstract GenerateTypeStart ( CodeTypeDeclaration e ) : void | ||
e | CodeTypeDeclaration | |
return | void |
protected GenerateTypes ( CodeNamespace e ) : void | ||
e | CodeNamespace | |
return | void |
protected abstract GenerateVariableDeclarationStatement ( CodeVariableDeclarationStatement e ) : void | ||
e | CodeVariableDeclarationStatement | |
return | void |
protected abstract GenerateVariableReferenceExpression ( CodeVariableReferenceExpression e ) : void | ||
e | CodeVariableReferenceExpression | |
return | void |
protected abstract GetTypeOutput ( CodeTypeReference value ) : string | ||
value | CodeTypeReference | |
return | string |
protected abstract IsValidIdentifier ( string value ) : bool | ||
value | string | |
return | bool |
public static IsValidLanguageIndependentIdentifier ( string value ) : bool | ||
value | string | |
return | bool |
protected OutputAttributeArgument ( CodeAttributeArgument arg ) : void | ||
arg | CodeAttributeArgument | |
return | void |
protected OutputAttributeDeclarations ( CodeAttributeDeclarationCollection attributes ) : void | ||
attributes | CodeAttributeDeclarationCollection | |
return | void |
protected OutputDirection ( FieldDirection dir ) : void | ||
dir | FieldDirection | |
return | void |
protected OutputExpressionList ( CodeExpressionCollection expressions ) : void | ||
expressions | CodeExpressionCollection | |
return | void |
protected OutputExpressionList ( CodeExpressionCollection expressions, bool newlineBetweenItems ) : void | ||
expressions | CodeExpressionCollection | |
newlineBetweenItems | bool | |
return | void |
protected OutputFieldScopeModifier ( MemberAttributes attributes ) : void | ||
attributes | MemberAttributes | |
return | void |
protected OutputIdentifier ( string ident ) : void | ||
ident | string | |
return | void |
protected OutputMemberAccessModifier ( MemberAttributes attributes ) : void | ||
attributes | MemberAttributes | |
return | void |
protected OutputMemberScopeModifier ( MemberAttributes attributes ) : void | ||
attributes | MemberAttributes | |
return | void |
protected OutputOperator ( CodeBinaryOperatorType op ) : void | ||
op | CodeBinaryOperatorType | |
return | void |
protected OutputParameters ( CodeParameterDeclarationExpressionCollection parameters ) : void | ||
parameters | CodeParameterDeclarationExpressionCollection | |
return | void |
protected abstract OutputType ( CodeTypeReference typeRef ) : void | ||
typeRef | CodeTypeReference | |
return | void |
protected OutputTypeAttributes ( TypeAttributes attributes, bool isStruct, bool isEnum ) : void | ||
attributes | TypeAttributes | |
isStruct | bool | |
isEnum | bool | |
return | void |
protected OutputTypeNamePair ( CodeTypeReference typeRef, string name ) : void | ||
typeRef | CodeTypeReference | |
name | string | |
return | void |
protected abstract QuoteSnippetString ( string value ) : string | ||
value | string | |
return | string |
protected abstract Supports ( GeneratorSupport support ) : bool | ||
support | GeneratorSupport | |
return | bool |
protected ValidateIdentifier ( string value ) : void | ||
value | string | |
return | void |
public static ValidateIdentifiers ( CodeObject e ) : void | ||
e | CodeObject | |
return | void |