C# Class XSpect.Yacq.SystemObjects.DocumentSet

Represents a XML document file to search by its name, member, or expression.
Afficher le fichier Open project: takeshik/yacq

Méthodes publiques

Méthode Description
DocumentSet ( FileInfo xmlFile ) : System

Initializes a new instance of the DocumentSet class.

DocumentSet ( Stream stream ) : System

Initializes a new instance of the DocumentSet class.

DocumentSet ( String xml ) : System

Initializes a new instance of the DocumentSet class.

GetDocument ( MemberInfo member ) : System.Xml.Linq.XElement[]

Gets the document which is related with specified member.

GetDocument ( String name ) : System.Xml.Linq.XElement[]

Gets the document which has specified name.

GetXmlDocumentName ( MemberInfo member ) : String

Gets the formatted string which represents specified member in name attribute of XML code documents.

GetXmlDocumentName ( SymbolEntry key ) : String

Gets the formatted string which represents specified symbol entry in name attribute of XML code documents.

Private Methods

Méthode Description
Format ( Type type, System.Boolean getDefinition ) : String

Method Details

DocumentSet() public méthode

Initializes a new instance of the DocumentSet class.
public DocumentSet ( FileInfo xmlFile ) : System
xmlFile System.IO.FileInfo The XML file to read.
Résultat System

DocumentSet() public méthode

Initializes a new instance of the DocumentSet class.
public DocumentSet ( Stream stream ) : System
stream Stream The stream to read the XML file.
Résultat System

DocumentSet() public méthode

Initializes a new instance of the DocumentSet class.
public DocumentSet ( String xml ) : System
xml String The XML string to read.
Résultat System

GetDocument() public méthode

Gets the document which is related with specified member.
public GetDocument ( MemberInfo member ) : System.Xml.Linq.XElement[]
member System.Reflection.MemberInfo The member to get the related document.
Résultat System.Xml.Linq.XElement[]

GetDocument() public méthode

Gets the document which has specified name.
public GetDocument ( String name ) : System.Xml.Linq.XElement[]
name String The document name to search.
Résultat System.Xml.Linq.XElement[]

GetXmlDocumentName() public static méthode

Gets the formatted string which represents specified member in name attribute of XML code documents.
public static GetXmlDocumentName ( MemberInfo member ) : String
member System.Reflection.MemberInfo Member to get the name.
Résultat String

GetXmlDocumentName() public static méthode

Gets the formatted string which represents specified symbol entry in name attribute of XML code documents.
public static GetXmlDocumentName ( SymbolEntry key ) : String
key SymbolEntry Symbol entry to get the name.
Résultat String