C# Class Xml.Schema.Linq.CodeGen.NameGenerator

Mostra file Open project: o2platform/O2.Platform.Projects Class Usage Examples

Public Methods

Method Description
ChangeClrName ( string clrName, NameOptions options ) : string
GetServicesClassName ( ) : string
GetUniqueID ( ) : int
MakeValidCLRNamespace ( string xsdNamespace, bool nameMangler2 ) : string
MakeValidIdentifier ( string identifierName ) : string
isKeyword ( string identifier ) : bool

Private Methods

Method Description
NameGenerator ( ) : System

Method Details

ChangeClrName() public static method

public static ChangeClrName ( string clrName, NameOptions options ) : string
clrName string
options NameOptions
return string

GetServicesClassName() public static method

public static GetServicesClassName ( ) : string
return string

GetUniqueID() public static method

public static GetUniqueID ( ) : int
return int

MakeValidCLRNamespace() public static method

public static MakeValidCLRNamespace ( string xsdNamespace, bool nameMangler2 ) : string
xsdNamespace string
nameMangler2 bool
return string

MakeValidIdentifier() public static method

public static MakeValidIdentifier ( string identifierName ) : string
identifierName string
return string

isKeyword() public static method

public static isKeyword ( string identifier ) : bool
identifier string
return bool