Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
AllElementsContentValidator (XmlSchemaContentType contentType, int size, bool isEmptiable) | |
bool | AddElement (XmlQualifiedName name, object particle, bool isEmptiable) |
override void | InitValidation (ValidationState context) |
override object | ValidateElement (XmlQualifiedName name, ValidationState context, out int errorCode) |
override bool | CompleteValidation (ValidationState context) |
override ArrayList | ExpectedElements (ValidationState context, bool isRequiredOnly) |
override ArrayList | ExpectedParticles (ValidationState context, bool isRequiredOnly, XmlSchemaSet schemaSet) |
Static Public Member Functions | |
static void | AddParticleToExpected (XmlSchemaParticle p, XmlSchemaSet schemaSet, ArrayList particles) |
static void | AddParticleToExpected (XmlSchemaParticle p, XmlSchemaSet schemaSet, ArrayList particles, bool global) |
Static Public Attributes | |
static readonly ContentValidator | Empty = new ContentValidator(XmlSchemaContentType.Empty) |
static readonly ContentValidator | TextOnly = new ContentValidator(XmlSchemaContentType.TextOnly, isOpen: false, isEmptiable: false) |
static readonly ContentValidator | Mixed = new ContentValidator(XmlSchemaContentType.Mixed) |
static readonly ContentValidator | Any = new ContentValidator(XmlSchemaContentType.Mixed, isOpen: true, isEmptiable: true) |
Properties | |
override bool | IsEmptiable [get] |
XmlSchemaContentType | ContentType [get] |
bool | PreserveWhitespace [get] |
bool | IsOpen [get, set] |
Private Attributes | |
readonly Hashtable | _elements |
readonly object[] | _particles |
readonly BitSet | _isRequired |
int | _countRequired |
readonly XmlSchemaContentType | _contentType |
bool | _isOpen |
readonly bool | _isEmptiable |
Definition at line 5 of file AllElementsContentValidator.cs.