C# Class System.Xml.Serialization.CodeIdentifier

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
MakeCamel ( string identifier ) : string
MakePascal ( string identifier ) : string
MakeValid ( string identifier ) : string

Private Methods

Méthode 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 méthode

public static MakeCamel ( string identifier ) : string
identifier string
Résultat string

MakePascal() public static méthode

public static MakePascal ( string identifier ) : string
identifier string
Résultat string

MakeValid() public static méthode

public static MakeValid ( string identifier ) : string
identifier string
Résultat string