C# Class UmbCodeGen.CodeGen.Naming

Mostrar archivo Open project: pdebacker/UmbCodeGen

Public Methods

Method Description
IdentifierName ( string alias ) : string
PascalCase ( string identifier ) : string
PropertyName ( string alias, string className ) : string

Private Methods

Method Description
IsAllowedIdentifierChar ( char character ) : bool
StarsWithIllegalChar ( string identifierName ) : bool
StripType ( string propertyName, string type ) : string
StripTypes ( string propertyName ) : string

Strip a type idetification from the property name.

Method Details

IdentifierName() public static method

public static IdentifierName ( string alias ) : string
alias string
return string

PascalCase() public static method

public static PascalCase ( string identifier ) : string
identifier string
return string

PropertyName() public static method

public static PropertyName ( string alias, string className ) : string
alias string
className string
return string