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!

ICodeGenerator Methods

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

GenerateCodeFromClass Outputs the language specific representaion of the CodeDOM tree refered to by e, into w.
GenerateCodeFromExpression Generates code from the specified expression and outputs it to the specified textwriter.
GenerateCodeFromNamespace Outputs the language specific representaion of the CodeDOM tree refered to by e, into w.
GenerateCodeFromStatement Outputs the language specific representaion of the CodeDOM tree refered to by e, into w.
IsValidIdentifier Gets whether value is a valid identifier for this language.
ValidateIdentifier Throws an exception if value is not a valid identifier. This allows the language to produce a very informative error message based upon value.

See Also

ICodeGenerator Interface | System.CodeDOM.Compiler Namespace