C# Class HandCoded.FpML.Meta.SchemeDefaults

The SchemeDefaults class provides a way to find out the URI associated with a particular type of coded data. An instance of SchemeDefaults exists for each supported release of FpML and is customised to return the appropriate URI for that version.
Afficher le fichier Open project: formicary/fpml-toolkit-csharp Class Usage Examples

Méthodes publiques

Méthode Description
GetDefaultAttributeForScheme ( string name ) : string

Returns the name of the scheme default attribute that may provide the default value of a given scheme attribute. For example the currencyScheme attribute will default to the value of the currencySchemeDefault attribute.

GetDefaultUriForAttribute ( string name ) : string

Returns the URI normally associated with the given scheme default attribute.

SchemeDefaults ( string values ) : System

Constructs a SchemeDefaults instance for an FpML 4-0 or later based instance in which scheme URI references can have schema defined default values.

SchemeDefaults ( string values, string names ) : System

Constructs a SchemeDefaults instance for a pre-FpML4-0 release where schemes have global defaults on the FpML element.

Method Details

GetDefaultAttributeForScheme() public méthode

Returns the name of the scheme default attribute that may provide the default value of a given scheme attribute. For example the currencyScheme attribute will default to the value of the currencySchemeDefault attribute.
public GetDefaultAttributeForScheme ( string name ) : string
name string The name of the scheme attribute
Résultat string

GetDefaultUriForAttribute() public méthode

Returns the URI normally associated with the given scheme default attribute.
public GetDefaultUriForAttribute ( string name ) : string
name string The name of the scheme default attribute.
Résultat string

SchemeDefaults() public méthode

Constructs a SchemeDefaults instance for an FpML 4-0 or later based instance in which scheme URI references can have schema defined default values.
public SchemeDefaults ( string values ) : System
values string An array of scheme names and default URIs.
Résultat System

SchemeDefaults() public méthode

Constructs a SchemeDefaults instance for a pre-FpML4-0 release where schemes have global defaults on the FpML element.
public SchemeDefaults ( string values, string names ) : System
values string An array of scheme names and default URIs.
names string An array holding a scheme to default attribute map.
Résultat System