C# Class Simpl.Serialization.Types.Scalar.FloatType

Class abstracting C# Float type
Inheritance: ScalarType
Mostra file Open project: ecologylab/simplCSharp

Public Methods

Method Description
FloatType ( ) : System

Calls the parent constructor for int type

FloatType ( Type type ) : System
GetInstance ( String value, String formatStrings, IScalarUnmarshallingContext scalarUnmarshallingContext ) : object

Creates and returns an instance of a float type for the supplied type

IsDefaultValue ( FieldInfo field, Object context ) : bool

Marshall ( object instance, TranslationContext context = null ) : string
SimplEquals ( object left, object right ) : bool

Method Details

FloatType() public method

Calls the parent constructor for int type
public FloatType ( ) : System
return System

FloatType() public method

public FloatType ( Type type ) : System
type System.Type
return System

GetInstance() public method

Creates and returns an instance of a float type for the supplied type
public GetInstance ( String value, String formatStrings, IScalarUnmarshallingContext scalarUnmarshallingContext ) : object
value String
formatStrings String
scalarUnmarshallingContext IScalarUnmarshallingContext
return object

IsDefaultValue() public method

public IsDefaultValue ( FieldInfo field, Object context ) : bool
field System.Reflection.FieldInfo
context Object
return bool

Marshall() public method

public Marshall ( object instance, TranslationContext context = null ) : string
instance object
context Simpl.Serialization.Context.TranslationContext
return string

SimplEquals() public method

public SimplEquals ( object left, object right ) : bool
left object
right object
return bool