C# Class HandCoded.FpML.Validation.FpMLRuleSet

The FpMLRuleSet is the abstract base class used by all other FpML rule sets.
Inheritance: HandCoded.Xml.Logic
Show file Open project: formicary/fpml-toolkit-csharp Class Usage Examples

Protected Methods

Method Description
DetermineNamespace ( NodeIndex nodeIndex ) : String

Determines the namespace URI of the FpML document.

IsSameCurrency ( XmlElement ccy1, XmlElement ccy2 ) : bool

Determine if two XmlElement structures containing currency instances have the same currency codes belonging to the same currency code scheme.

ToInterval ( XmlElement context ) : Interval

Extracts an Interval from the data stored below the given context node.

Method Details

DetermineNamespace() protected static method

Determines the namespace URI of the FpML document.
protected static DetermineNamespace ( NodeIndex nodeIndex ) : String
nodeIndex HandCoded.Xml.NodeIndex A of the entire document.
return String

IsSameCurrency() protected static method

Determine if two XmlElement structures containing currency instances have the same currency codes belonging to the same currency code scheme.
protected static IsSameCurrency ( XmlElement ccy1, XmlElement ccy2 ) : bool
ccy1 System.Xml.XmlElement The first currency .
ccy2 System.Xml.XmlElement The second currency .
return bool

ToInterval() protected static method

Extracts an Interval from the data stored below the given context node.
protected static ToInterval ( XmlElement context ) : Interval
context System.Xml.XmlElement The context .
return HandCoded.Finance.Interval