NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CodeGenerator Methods

The methods of the CodeGenerator class are listed below. For a complete list of CodeGenerator class members, see the CodeGenerator Members topic.

Public:

Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the Object.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
GenerateArrayCreateExpression Generates code for the specified CodeDOM based array creation expression representation.
GenerateAssignStatement Generates code for the specified CodeDOM based assignment statement representation.
GenerateAttributeBlockEnd Generates code for the specified CodeDOM based attribute block end representation.
GenerateAttributeBlockStart Generates code for the specified CodeDOM based attribute block start representation.
GenerateBaseReferenceExpression Generates code for the specified CodeDOM based base reference expression representation.
GenerateBinaryOperatorExpression Generates code for the specified CodeDOM based binary operator expression representation.
GenerateCastExpression Generates code for the specified CodeDOM based cast expression representation.
GenerateClassConstructor Generates code for the specified CodeDOM based class constructor representation.
GenerateClassEnd Generates code for the specified CodeDOM based end class representation.
GenerateClasses Generates classes using CodeDOM representation for the specified namespace.
GenerateClassStart Generates code for the specified CodeDOM based start class representation.
GenerateCommentStatement Generates code for the specified CodeDOM based comment statement representation.
GenerateConstructor Generates code for the specified CodeDOM based constructor representation.
GenerateDelegateCreateExpression Generates code for the specified CodeDOM based delegate creation expression representation.
GenerateDelegateInvokeExpression Generates code for the specified CodeDOM based delegate invoke expression representation.
GenerateDelegateInvokeStatement Generates code for the specified CodeDOM based method invoke statement representation.
GenerateExpression Generates code for the specified CodeDOM based code expression.
GenerateField Generates code for the specified CodeDOM based member field representation.
GenerateFieldReferenceExpression Generates code for the specified CodeDOM based field reference expression representation.
GenerateForLoopStatement Generates code for the specified CodeDOM based for loop statement representation.
GenerateIfStatement Generates code for the specified CodeDOM based if statement representation.
GenerateIndexerExpression Generates code for the specified CodeDOM based indexer expression representation.
GenerateLinePragmaEnd Generates code for the specified CodeDOM based line pragma end representation.
GenerateLinePragmaStart Generates code for the specified CodeDOM based line pragma start representation.
GenerateLiteralExpression Generates code for the specified CodeDOM based literal expression representation.
GenerateLiteralMember Generates code for the specified CodeDOM based literal class member representation.
GenerateLiteralStatement Generates code for the specified CodeDOM based literal statement representation.
GenerateMethod Generates code for the specified CodeDOM based method representation.
GenerateMethodInvokeExpression Generates code for the specified CodeDOM based method invoke expression representation.
GenerateMethodInvokeStatement Generates code for the specified CodeDOM based method invoke statement representation.
GenerateMethodReturnStatement Generates code for the specified CodeDOM based method return statement representation.
GenerateNamespace Generates code for the specified CodeDOM based namespace representation.
GenerateNamespaceEnd Generates code for the specified CodeDOM based namespace end representation.
GenerateNamespaceImport Generates code for the specified CodeDOM based namespace import representation.
GenerateNamespaceImports Generates code for the specified CodeDOM based namespace import representation.
GenerateNamespaceStart Generates code for the specified CodeDOM based namespace start representation.
GenerateObjectCreateExpression Generates code for the specified CodeDOM based object creation expression representation.
GenerateParameterDeclarationExpression Generates code for the specified CodeDOM based parameter declaration expression representation.
GeneratePrimitiveExpression Generates code for the specified CodeDOM based primitive expression representation.
GenerateProperty Generates code for the specified CodeDOM based property representation.
GeneratePropertyReferenceExpression Generates code for the specified CodeDOM based property reference expression representation.
GenerateStatement Generates code for the specified CodeDOM based statement representation.
GenerateStatements Generates code for the specified CodeDOM based statement representations.
GenerateThisReferenceExpression Generates code for the specified CodeDOM based this reference expression representation.
GenerateThrowExceptionStatement Generates code for the specified CodeDOM based throw exception statement representation.
GenerateTryCatchFinallyStatement Generates code for the specified CodeDOM based try catch finally statement representation.
GenerateTypeOfExpression Generates code for the specified CodeDOM based type of expression representation.
GenerateTypeReferenceExpression Generates code for the specified CodeDOM based type reference expression representation.
GenerateVariableDeclarationStatement Generates code for the specified CodeDOM based variable declaration statement representation.
GetNullToken Gets the token that represents a null reference (in Visual Basic Nothing).
GetTypeArrayRank [To be supplied.]
GetTypeBaseType Gets the base type of the specified type.
IsValidIdentifier Gets or sets whether the specified value is a value identifier.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OutputAttributeArgument Outputs an argument in a attribute block.
OutputAttributeBlock Generates code for the specified CodeAttributeBlock.
OutputDirection Generates code for the specified FieldDirection.
OutputExpressionList Overloaded. [To be supplied.]
OutputMemberAccessModifier Generates code for the specified member access modifier.
OutputMemberScopeModifier Generates code for the specified member scope modifier.
OutputOperator Generates code for the specified operator.
OutputParameters Generates code for the specified parameters.
OutputType Generates code for the specified type.
OutputTypeAttributes Generates code for the specified type attributes.
OutputTypeNamePair Generates code for the specified object type and name pair.
QuoteLiteralString Provides conversion to formatting with escape codes.
ValidateIdentifier Gets whether the specified identifier is valid.

See Also

CodeGenerator Class | System.CodeDOM.Compiler Namespace