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

Afficher le fichier Open project: WSCF/WSCF Class Usage Examples

Protected Properties

Свойство Type Description
Code ExtendedCodeDomTree

Méthodes publiques

Méthode Description
Convert ( string &oldName ) : string

Méthodes protégées

Méthode Description
CanConvertMember ( CodeTypeMemberExtension memberExtension ) : bool
CanConvertTypeName ( CodeTypeExtension typeExtension ) : bool
ConvertFieldReferencesInConstructors ( FilteredTypeMembers constructors, string oldName, string newName ) : void
OnEnumMemberChanged ( CodeTypeMemberExtension memberExtension, string oldName, string newName ) : void
OnEventNameChanged ( CodeTypeMemberExtension memberExtension, string oldName, string newName ) : void
OnFieldNameChanged ( CodeTypeMemberExtension memberExtension, string oldName, string newName ) : void
OnMethodNameChanged ( CodeTypeMemberExtension memberExtension, string oldName, string newName ) : void
OnPropertyNameChanged ( CodeTypeMemberExtension memberExtension, string oldName, string newName ) : void
OnTypeNameChanged ( CodeTypeExtension typeExtension, string oldName, string newName ) : void
PascalCaseConverterBase ( CodeTypeExtension codeTypeExtension, ExtendedCodeDomTree code ) : System

Private Methods

Méthode Description
ConvertEnumMemberName ( CodeTypeMemberExtension typeMemberExtension ) : void
ConvertEnumMemberNames ( ) : void

Converts all member names in a given enumeration to Pascal case.

ConvertField ( CodeTypeMemberExtension typeMemberExtension ) : void

Contains the logic for converting field name to pascal case.

ConvertMembers ( ) : void

Converts field, property, method names in a type to Pascal case.

ConvertMethod ( CodeTypeMemberExtension memberExtension ) : void

Contains the core logic for converting a method name to Pascal case.

ConvertProperty ( CodeTypeMemberExtension typeMemberExtension ) : void

Contains the logic for converting property name to pascal case.

ConvertTypeMemberNames ( ) : void

Converts all member names in a given class to Pascal case.

ConvertTypeName ( string &oldName ) : string

Changes the given type's name to Pascal case.

Method Details

CanConvertMember() protected abstract méthode

protected abstract CanConvertMember ( CodeTypeMemberExtension memberExtension ) : bool
memberExtension CodeTypeMemberExtension
Résultat bool

CanConvertTypeName() protected abstract méthode

protected abstract CanConvertTypeName ( CodeTypeExtension typeExtension ) : bool
typeExtension CodeTypeExtension
Résultat bool

Convert() public méthode

public Convert ( string &oldName ) : string
oldName string
Résultat string

ConvertFieldReferencesInConstructors() protected méthode

protected ConvertFieldReferencesInConstructors ( FilteredTypeMembers constructors, string oldName, string newName ) : void
constructors FilteredTypeMembers
oldName string
newName string
Résultat void

OnEnumMemberChanged() protected abstract méthode

protected abstract OnEnumMemberChanged ( CodeTypeMemberExtension memberExtension, string oldName, string newName ) : void
memberExtension CodeTypeMemberExtension
oldName string
newName string
Résultat void

OnEventNameChanged() protected abstract méthode

protected abstract OnEventNameChanged ( CodeTypeMemberExtension memberExtension, string oldName, string newName ) : void
memberExtension CodeTypeMemberExtension
oldName string
newName string
Résultat void

OnFieldNameChanged() protected abstract méthode

protected abstract OnFieldNameChanged ( CodeTypeMemberExtension memberExtension, string oldName, string newName ) : void
memberExtension CodeTypeMemberExtension
oldName string
newName string
Résultat void

OnMethodNameChanged() protected abstract méthode

protected abstract OnMethodNameChanged ( CodeTypeMemberExtension memberExtension, string oldName, string newName ) : void
memberExtension CodeTypeMemberExtension
oldName string
newName string
Résultat void

OnPropertyNameChanged() protected abstract méthode

protected abstract OnPropertyNameChanged ( CodeTypeMemberExtension memberExtension, string oldName, string newName ) : void
memberExtension CodeTypeMemberExtension
oldName string
newName string
Résultat void

OnTypeNameChanged() protected abstract méthode

protected abstract OnTypeNameChanged ( CodeTypeExtension typeExtension, string oldName, string newName ) : void
typeExtension CodeTypeExtension
oldName string
newName string
Résultat void

PascalCaseConverterBase() protected méthode

protected PascalCaseConverterBase ( CodeTypeExtension codeTypeExtension, ExtendedCodeDomTree code ) : System
codeTypeExtension CodeTypeExtension
code ExtendedCodeDomTree
Résultat System

Property Details

Code protected_oe property

protected ExtendedCodeDomTree,Thinktecture.Tools.Web.Services.CodeGeneration Code
Résultat ExtendedCodeDomTree