C# Class BExIS.Ddm.Providers.DummyProvider.Helpers.Metadata

Exibir arquivo Open project: BEXIS2/Core Class Usage Examples

Public Methods

Method Description
GetAllValuesAsList ( ) : List

Get all values as a list of strings

GetValueFromNode ( string node ) : XmlNodeList

Get a value from a node

IsDateInRangeOf ( int date, string node, bool desc ) : bool
IsValueInMetadata ( string value ) : bool

Check if value inside the metadata

IsValueInNode ( string node, string value ) : bool

Check if value in node

LoadXml ( string url ) : void

Load xml file using url

Metadata ( ) : System

Method Details

GetAllValuesAsList() public method

Get all values as a list of strings
public GetAllValuesAsList ( ) : List
return List

GetValueFromNode() public method

Get a value from a node
public GetValueFromNode ( string node ) : XmlNodeList
node string
return System.Xml.XmlNodeList

IsDateInRangeOf() public method

public IsDateInRangeOf ( int date, string node, bool desc ) : bool
date int
node string
desc bool
return bool

IsValueInMetadata() public method

Check if value inside the metadata
public IsValueInMetadata ( string value ) : bool
value string value to search for
return bool

IsValueInNode() public method

Check if value in node
public IsValueInNode ( string node, string value ) : bool
node string node name
value string value name
return bool

LoadXml() public method

Load xml file using url
public LoadXml ( string url ) : void
url string Path of the xmlfile
return void

Metadata() public method

public Metadata ( ) : System
return System