|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| ContentValidator (XmlSchemaContentType contentType) | |
| virtual void | InitValidation (ValidationState context) |
| virtual object | ValidateElement (XmlQualifiedName name, ValidationState context, out int errorCode) |
| virtual bool | CompleteValidation (ValidationState context) |
| virtual ArrayList | ExpectedElements (ValidationState context, bool isRequiredOnly) |
| virtual 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) |
Protected Member Functions | |
| ContentValidator (XmlSchemaContentType contentType, bool isOpen, bool isEmptiable) | |
Properties | |
| XmlSchemaContentType | ContentType [get] |
| bool | PreserveWhitespace [get] |
| virtual bool | IsEmptiable [get] |
| bool | IsOpen [get, set] |
Private Attributes | |
| readonly XmlSchemaContentType | _contentType |
| bool | _isOpen |
| readonly bool | _isEmptiable |
Definition at line 5 of file ContentValidator.cs.