C# Class HandCoded.FpML.Meta.FpMLSchemaRecogniser

The FpMLInstanceInitialiser class provides additional initialisation logic for FpML schema based instances, in particular it ensures that the FpML version attribute is set to match the referenced schema.
Inheritance: HandCoded.Meta.DefaultSchemaRecogniser
Afficher le fichier Open project: formicary/fpml-toolkit-csharp

Méthodes publiques

Méthode Description
FpMLSchemaRecogniser ( ) : System

Constructs a FpMLSchemaRecogniser that performs additional initialisation for FpML documents.

Recognises ( HandCoded release, XmlDocument document ) : bool

Determines if the XmlDocument could be an instance of the indicated SchemaRelease. Also checks that the FpML version attribute matches the SchemaRelease instance.

Method Details

FpMLSchemaRecogniser() public méthode

Constructs a FpMLSchemaRecogniser that performs additional initialisation for FpML documents.
public FpMLSchemaRecogniser ( ) : System
Résultat System

Recognises() public méthode

Determines if the XmlDocument could be an instance of the indicated SchemaRelease. Also checks that the FpML version attribute matches the SchemaRelease instance.
public Recognises ( HandCoded release, XmlDocument document ) : bool
release HandCoded The potential .
document System.Xml.XmlDocument The to be tested.
Résultat bool