C# Class HandCoded.FpML.Schemes.Value

The Value class is used to represent code values within thier corresponding Scheme instance's extent set.
Exibir arquivo Open project: formicary/fpml-toolkit-csharp Class Usage Examples

Public Methods

Method Description
GetHashCode ( ) : int

Returns a hash code for the instance based on the value of the code string.

ToString ( ) : string

Produces a debugging string describing the object.

Value ( string code, string source, string description ) : System

Constructs a Value given a code, its source (e.g. who defines it - FpML or someone else) and a description.

Private Methods

Method Description
ToDebug ( ) : string

Produces a debugging string based on the instance members.

Method Details

GetHashCode() public method

Returns a hash code for the instance based on the value of the code string.
public GetHashCode ( ) : int
return int

ToString() public method

Produces a debugging string describing the object.
public ToString ( ) : string
return string

Value() public method

Constructs a Value given a code, its source (e.g. who defines it - FpML or someone else) and a description.
public Value ( string code, string source, string description ) : System
code string The code string
source string The source identifier
description string Some descriptive text.
return System