C# Class HandCoded.FpML.Schemes.Scheme

A Scheme instance holds a collection of values used to validate data fields that may only store a code value taken from the schemes domain.
Exibir arquivo Open project: formicary/fpml-toolkit-csharp Class Usage Examples

Public Methods

Method Description
IsValid ( string code ) : bool

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

Protected Methods

Method Description
Scheme ( string uri ) : System

Constructs a Scheme for the given URI.

Scheme ( string uri, string canonicalUri ) : System

Constructs a Scheme for the given URI and canonical uri.

Method Details

IsValid() public abstract method

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

Scheme() protected method

Constructs a Scheme for the given URI.
protected Scheme ( string uri ) : System
uri string The associated URI.
return System

Scheme() protected method

Constructs a Scheme for the given URI and canonical uri.
protected Scheme ( string uri, string canonicalUri ) : System
uri string The associated URI.
canonicalUri string The associated canonical URI or null.
return System