C# Class System.Xml.Serialization.CodeIdentifier

Mostrar archivo Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
MakeCamel ( string identifier ) : string
MakePascal ( string identifier ) : string
MakeValid ( string identifier ) : string

Private Methods

Method Description
CheckValidIdentifier ( string ident ) : void
CodeIdentifier ( ) : System
EscapeKeywords ( string identifier ) : string
EscapeKeywords ( string identifier, StringBuilder sb ) : void
GetCSharpName ( Type t, Type parameters, int index, StringBuilder sb ) : int
GetCSharpName ( Type t ) : string
GetCSharpName ( string name ) : string
IsValid ( char c ) : bool
IsValidStart ( char c ) : bool
MakeValidInternal ( string identifier ) : string

Method Details

MakeCamel() public static method

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

MakePascal() public static method

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

MakeValid() public static method

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