C# Class NAnt.Core.Tasks.NAntSchemaTask.NAntSchemaGenerator

Afficher le fichier Open project: skolima/NAnt

Méthodes publiques

Méthode Description
Compile ( ) : void
NAntSchemaGenerator ( Type tasks, Type dataTypes, string targetNS ) : System

Creates a new instance of the NAntSchemaGenerator class.

Méthodes protégées

Méthode Description
CreateTaskListComplexType ( Type tasks ) : XmlSchemaComplexType
CreateTaskListComplexType ( Type tasks, Type dataTypes, bool includeProjectLevelItems ) : XmlSchemaComplexType
FindComplexTypeByID ( string id ) : XmlSchemaComplexType
FindOrCreateComplexType ( Type t ) : XmlSchemaComplexType
ValidationEH ( object sender, ValidationEventArgs args ) : void

Private Methods

Méthode Description
GetDataTypeName ( Type t ) : string
GetTaskName ( Type t ) : string

Method Details

Compile() public méthode

public Compile ( ) : void
Résultat void

CreateTaskListComplexType() protected méthode

protected CreateTaskListComplexType ( Type tasks ) : XmlSchemaComplexType
tasks System.Type
Résultat System.Xml.Schema.XmlSchemaComplexType

CreateTaskListComplexType() protected méthode

protected CreateTaskListComplexType ( Type tasks, Type dataTypes, bool includeProjectLevelItems ) : XmlSchemaComplexType
tasks System.Type
dataTypes System.Type
includeProjectLevelItems bool
Résultat System.Xml.Schema.XmlSchemaComplexType

FindComplexTypeByID() protected méthode

protected FindComplexTypeByID ( string id ) : XmlSchemaComplexType
id string
Résultat System.Xml.Schema.XmlSchemaComplexType

FindOrCreateComplexType() protected méthode

protected FindOrCreateComplexType ( Type t ) : XmlSchemaComplexType
t System.Type
Résultat System.Xml.Schema.XmlSchemaComplexType

NAntSchemaGenerator() public méthode

Creates a new instance of the NAntSchemaGenerator class.
public NAntSchemaGenerator ( Type tasks, Type dataTypes, string targetNS ) : System
tasks System.Type Tasks for which a schema should be generated.
dataTypes System.Type Data Types for which a schema should be generated.
targetNS string The namespace to use. /// http://tempuri.org/nant.xsd ///
Résultat System

ValidationEH() protected méthode

protected ValidationEH ( object sender, ValidationEventArgs args ) : void
sender object
args System.Xml.Schema.ValidationEventArgs
Résultat void