C# 클래스 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.
파일 보기 프로젝트 열기: formicary/fpml-toolkit-csharp 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

GetDefaultAttributeForScheme() 공개 메소드

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
리턴 string

GetDefaultUriForAttribute() 공개 메소드

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.
리턴 string

SchemeDefaults() 공개 메소드

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.
리턴 System

SchemeDefaults() 공개 메소드

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.
리턴 System