5 internal abstract class Accessor
9 private object defaultValue;
13 private TypeMapping mapping;
19 private bool topLevelInSchema;
23 private bool isOptional;
27 internal TypeMapping Mapping
51 internal bool HasDefault
55 if (defaultValue !=
null)
63 internal virtual string Name
91 internal string AnyNamespaces
127 internal bool IsFixed
139 internal bool IsOptional
151 internal bool IsTopLevelInSchema
155 return topLevelInSchema;
159 topLevelInSchema = value;
167 internal static string EscapeName(
string name)
169 if (name ==
null || name.Length == 0)
176 internal static string EscapeQName(
string name)
178 if (name ==
null || name.Length == 0)
182 int num = name.LastIndexOf(
':');
187 if (num == 0 || num == name.Length - 1)
189 throw new ArgumentException(Res.GetString(
"Xml_InvalidNameChars", name),
"name");
194 internal static string UnescapeName(
string name)
199 internal string ToString(
string defaultNs)
XmlSchemaForm
Indicates if attributes or elements need to be qualified with a namespace prefix.
static string EncodeLocalName(string name)
Converts the name to a valid XML local name.
static string DecodeName(string name)
Decodes a name. This method does the reverse of the M:System.Xml.XmlConvert.EncodeName(System....
static readonly DBNull Value
Represents the sole instance of the T:System.DBNull class.
Represents an XML qualified name.
The exception that is thrown when one of the arguments provided to a method is not valid.
This value supports the .NET Framework infrastructure and is not intended to be used directly from yo...
override string ToString()
Returns the string value of the T:System.Xml.XmlQualifiedName.
The default setting for this enumeration, which is currently F:System.GCCollectionMode....
Encodes and decodes XML names, and provides methods for converting between common language runtime ty...
Represents a nonexistent value. This class cannot be inherited.