Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Xml.ValidateNames Class Reference

Package Types

enum  Flags {
  NCNames = 1 , CheckLocalName = 2 , CheckPrefixMapping = 4 , All = 7 ,
  AllExceptNCNames = 6 , AllExceptPrefixMapping = 3
}
 

Static Package Functions

static int ParseNmtoken (string s, int offset)
 
static int ParseNmtokenNoNamespaces (string s, int offset)
 
static bool IsNmtokenNoNamespaces (string s)
 
static int ParseNameNoNamespaces (string s, int offset)
 
static bool IsNameNoNamespaces (string s)
 
static int ParseNCName (string s, int offset)
 
static int ParseNCName (string s)
 
static string ParseNCNameThrow (string s)
 
static int ParseQName (string s, int offset, out int colonOffset)
 
static int ParseQNameThrow (string s)
 
static void ParseQNameThrow (string s, out string prefix, out string localName)
 
static void ParseNameTestThrow (string s, out string prefix, out string localName)
 
static void ThrowInvalidName (string s, int offsetStartChar, int offsetBadChar)
 
static Exception GetInvalidNameException (string s, int offsetStartChar, int offsetBadChar)
 
static bool StartsWithXml (string s)
 
static bool IsReservedNamespace (string s)
 
static void ValidateNameThrow (string prefix, string localName, string ns, XPathNodeType nodeKind, Flags flags)
 
static bool ValidateName (string prefix, string localName, string ns, XPathNodeType nodeKind, Flags flags)
 
static void SplitQName (string name, out string prefix, out string lname)
 

Static Private Member Functions

static bool ParseNCNameInternal (string s, bool throwOnError)
 
static bool ValidateNameInternal (string prefix, string localName, string ns, XPathNodeType nodeKind, Flags flags, bool throwOnError)
 
static string CreateName (string prefix, string localName)
 

Detailed Description

Definition at line 5 of file ValidateNames.cs.


The documentation for this class was generated from the following file: