C# 클래스 HandCoded.FpML.Schemes.CachedScheme

The CachedScheme class provides in-memory storage for the codes defined for its domain and thier associated descriptions.
상속: Scheme
파일 보기 프로젝트 열기: formicary/fpml-toolkit-csharp 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
values Value>.Dictionary

공개 메소드들

메소드 설명
CachedScheme ( string uri ) : System

Constructs a CachedScheme instance for the indicated scheme URI.

CachedScheme ( string uri, string canonicalUri ) : System

Constructs a CachedScheme instance for the indicated scheme URI and canonical URI.

IsValid ( string code ) : bool

Determines if the given code value is valid within the scheme.

보호된 메소드들

메소드 설명
Add ( Value value ) : Value

Adds a Value instance to the extent set manange by this instance. If the new value has the same code as an existing entry it will replace it and a reference to the old instance will be returned to the caller.

메소드 상세

Add() 보호된 메소드

Adds a Value instance to the extent set manange by this instance. If the new value has the same code as an existing entry it will replace it and a reference to the old instance will be returned to the caller.
protected Add ( Value value ) : Value
value Value The scheme to be added.
리턴 Value

CachedScheme() 공개 메소드

Constructs a CachedScheme instance for the indicated scheme URI.
public CachedScheme ( string uri ) : System
uri string The URI used to reference the scheme.
리턴 System

CachedScheme() 공개 메소드

Constructs a CachedScheme instance for the indicated scheme URI and canonical URI.
public CachedScheme ( string uri, string canonicalUri ) : System
uri string The URI used to reference the scheme.
canonicalUri string The canonical URI or null.
리턴 System

IsValid() 공개 메소드

Determines if the given code value is valid within the scheme.
public IsValid ( string code ) : bool
code string The code value to be validated.
리턴 bool

프로퍼티 상세

values 보호되어 있는 프로퍼티

Provides the underlying storage for the code values.
protected Dictionary values
리턴 Value>.Dictionary