SchemaValidatorAttribute Class

Summary

Indicates that class should be validated by an XML Schema.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks
Base Types
  • Attribute
graph BT Type-->Base0["Attribute"] Type["SchemaValidatorAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class SchemaValidatorAttribute : Attribute

Remarks

None.

Attributes

Type Description
AttributeUsageAttribute

Constructors

Name Summary
SchemaValidatorAttribute(Type) Initializes a new instance of the NAnt.Contrib.Tasks.SchemaValidatorAttribute class.
SchemaValidatorAttribute(Type, string) Initializes a new instance of the NAnt.Contrib.Tasks.SchemaValidatorAttribute class.

Properties

Name Value Summary
ValidatorType Type
Gets or sets the System.Type of the object created by NAnt.Contrib.Tasks.XsdTask to represent the root node of your task.
XmlNamespace string