• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class XmlValidatorBase

Base class of XmlValidator.

Inheritance
System.Object
XmlValidatorBase
ModuleDefinitionValidator
PortalTemplateValidator
Namespace: DotNetNuke.Common
Assembly: DotNetNuke.dll
Syntax
public class XmlValidatorBase : object

Constructors

| Improve this Doc View Source

XmlValidatorBase()

Initializes a new instance of the XmlValidatorBase class.

Declaration
public XmlValidatorBase()

Properties

| Improve this Doc View Source

Errors

Gets or sets the errors.

Declaration
public ArrayList Errors { get; set; }
Property Value
Type Description
ArrayList

The errors.

| Improve this Doc View Source

SchemaSet

Gets the schema set.

Declaration
public XmlSchemaSet SchemaSet { get; }
Property Value
Type Description
XmlSchemaSet

Methods

| Improve this Doc View Source

IsValid()

Determines whether this instance is valid.

Declaration
public bool IsValid()
Returns
Type Description
System.Boolean

true if this instance is valid; otherwise, false.

| Improve this Doc View Source

Validate(Stream)

Validates the specified XML stream.

Declaration
public virtual bool Validate(Stream xmlStream)
Parameters
Type Name Description
Stream xmlStream

The XML stream.

Returns
Type Description
System.Boolean

true if the XML is valid, otherwise false.

| Improve this Doc View Source

Validate(String)

Validates the specified filename.

Declaration
public virtual bool Validate(string filename)
Parameters
Type Name Description
System.String filename

The filename.

Returns
Type Description
System.Boolean

true if the XML is valid, otherwise false.

| Improve this Doc View Source

ValidationCallBack(Object, ValidationEventArgs)

Validations the call back.

Declaration
protected void ValidationCallBack(object sender, ValidationEventArgs args)
Parameters
Type Name Description
System.Object sender

The sender.

ValidationEventArgs args

The instance containing the event data.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS