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

Class abstracting C# double type.
Inheritance: ScalarType
显示文件 Open project: ecologylab/simplCSharp

Public Methods

Method Description
DoubleType ( ) : System

Calls the parent constructor for int type

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

Creates and returns and instance of a double type

IsDefaultValue ( FieldInfo field, Object context ) : bool

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

Method Details

DoubleType() public method

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

DoubleType() public method

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

GetInstance() public method

Creates and returns and instance of a double 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