Class IdentifierValidator
Inheritance
System.Object
IdentifierValidator
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Vortex.Localizations
Assembly: Vortex.Connector.dll
Syntax
public static class IdentifierValidator
Fields
extend
Declaration
const string extend = "(\\p{Mn}|\\p{Mc}|\\p{Nd}|\\p{Pc}|\\p{Cf})"
Field Value
Type | Description |
---|---|
System.String |
ident
Declaration
static Regex ident
Field Value
Type | Description |
---|---|
System.Text.RegularExpressions.Regex |
start
Declaration
const string start = "(\\p{Lu}|\\p{Ll}|\\p{Lt}|\\p{Lm}|\\p{Lo}|\\p{Nl}|\\p{Nd})"
Field Value
Type | Description |
---|---|
System.String |
Methods
IsValidIdentifierCharacter(String)
Declaration
static bool IsValidIdentifierCharacter(string string)
Parameters
Type | Name | Description |
---|---|---|
System.String | string |
Returns
Type | Description |
---|---|
System.Boolean |
MakeValidIdentifier(String)
Declaration
public static string MakeValidIdentifier(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
System.String |