C# Класс XSpect.Yacq.SystemObjects.DocumentSet

Represents a XML document file to search by its name, member, or expression.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Format ( Type type, System.Boolean getDefinition ) : String

Описание методов

DocumentSet() публичный Метод

Initializes a new instance of the DocumentSet class.
public DocumentSet ( FileInfo xmlFile ) : System
xmlFile System.IO.FileInfo The XML file to read.
Результат System

DocumentSet() публичный Метод

Initializes a new instance of the DocumentSet class.
public DocumentSet ( Stream stream ) : System
stream Stream The stream to read the XML file.
Результат System

DocumentSet() публичный Метод

Initializes a new instance of the DocumentSet class.
public DocumentSet ( String xml ) : System
xml String The XML string to read.
Результат System

GetDocument() публичный Метод

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.
Результат System.Xml.Linq.XElement[]

GetDocument() публичный Метод

Gets the document which has specified name.
public GetDocument ( String name ) : System.Xml.Linq.XElement[]
name String The document name to search.
Результат System.Xml.Linq.XElement[]

GetXmlDocumentName() публичный статический Метод

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.
Результат String

GetXmlDocumentName() публичный статический Метод

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.
Результат String