C# Class XSpect.Yacq.SystemObjects.DocumentRepository

Provides management system for XML document files.
Mostrar archivo Open project: takeshik/yacq

Public Methods

Method Description
DocumentRepository ( ) : System

Initializes a new instance of the DocumentRepository class.

GetDocument ( Expression expression ) : System.Xml.Linq.XElement[]

Gets the document which is related with specified expression.

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.

Private Methods

Method Description
LoadDocumentSet ( MemberInfo member ) : DocumentSet
LoadDocumentSet ( String key ) : DocumentSet

Method Details

DocumentRepository() public method

Initializes a new instance of the DocumentRepository class.
public DocumentRepository ( ) : System
return System

GetDocument() public method

Gets the document which is related with specified expression.
public GetDocument ( Expression expression ) : System.Xml.Linq.XElement[]
expression System.Linq.Expressions.Expression The expression to get the related document.
return System.Xml.Linq.XElement[]

GetDocument() public method

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.
return System.Xml.Linq.XElement[]

GetDocument() public method

Gets the document which has specified name.
public GetDocument ( String name ) : System.Xml.Linq.XElement[]
name String The full name of the document (documentSetName/documentKey).
return System.Xml.Linq.XElement[]