C# Class Thinktecture.Tools.Web.Services.CodeGeneration.PascalCaseConverter

This class implements the code decorator for converting type/member names from Camel case to Pascal case.
Inheritance: ICodeDecorator
显示文件 Open project: WSCF/WSCF

Public Methods

Method Description
Decorate ( ExtendedCodeDomTree code, CustomCodeGenerationOptions options ) : void

Private Methods

Method Description
DecorateCore ( FilteredTypes types ) : void

Contains the core logic of pascal case conversion.

DecorateInternal ( ) : void

This function passes the relevent FilteredTypes collections to the DecorateCore function.

UpdateTypeReferences ( string oldName, string newName ) : void

Itterates through the generated code and reflects the type name changes.

UpdateTypeReferencesInternal ( FilteredTypes types, string oldName, string newName ) : void

Method Details

Decorate() public method

public Decorate ( ExtendedCodeDomTree code, CustomCodeGenerationOptions options ) : void
code ExtendedCodeDomTree
options CustomCodeGenerationOptions
return void