Click or drag to resize
ValueConverter Class
A set of predefined converter pairs for use with ConvertValueView.
Inheritance Hierarchy

Namespace: Bio.Util
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public abstract class ValueConverter

The ValueConverter type exposes the following members.

Constructors
  NameDescription
Protected methodValueConverter
Initializes a new instance of the ValueConverter class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetCharToGenericT
Tries to convert a character into any other type.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberBoolToChar01
Converts boolean false to the character '0' and boolean true to character '1'
Public fieldStatic memberChar01ToBool
Converts the character '0' to boolean false and the character '1' to boolean true.
Public fieldStatic memberChar01ToMinusOneOne
Converts the character '0' to the double -1.0 and the character '1' to the double 1.0.
Public fieldStatic memberCharACTGToDouble0123Converter
Converts the characters 'A', 'C', 'T', 'G' to doubles 0.0, 1.0, 3.0, 2.0. Lower case is accepted, the inverse always produces uppercase.
Public fieldStatic memberCharToDouble
Converts the characters '0' ... '9' to the doubles 0.0 ... 9.0.
Public fieldStatic memberCharToInt
Converts the characters '0'...'9' to the integers 0 ... 9
Public fieldStatic memberCharToString
Converts a character into a string.
Public fieldStatic memberDoubleToChar
Converts the doubles 0.0 ... 9.0 to the characters '0' ... '9'.
Public fieldStatic memberDoubleToInt
Converts a double to an int.
Public fieldStatic memberDoubleToInt01
Converts a double to an int 0 or int 1.
Public fieldStatic memberInt01ToDouble
Converts an int 0 and int 1 to a double
Public fieldStatic memberIntToChar
Converts the integers 0...9 to the characters '0' ... '9'
Public fieldStatic memberIntToDouble
Converts an integer to a double
Public fieldStatic memberMinusOneOneToChar01
Converts the double -1.0 to the character '0' and the double 1.0 to the character '1'.
Public fieldStatic memberStringToChar
Converts a length-one string into a character.
Top
See Also