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

Class abstracting C# Float type
Inheritance: ScalarType
Afficher le fichier Open project: ecologylab/simplCSharp

Méthodes publiques

Méthode 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 méthode

Calls the parent constructor for int type
public FloatType ( ) : System
Résultat System

FloatType() public méthode

public FloatType ( Type type ) : System
type System.Type
Résultat System

GetInstance() public méthode

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
Résultat object

IsDefaultValue() public méthode

public IsDefaultValue ( FieldInfo field, Object context ) : bool
field System.Reflection.FieldInfo
context Object
Résultat bool

Marshall() public méthode

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

SimplEquals() public méthode

public SimplEquals ( object left, object right ) : bool
left object
right object
Résultat bool