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

Class abstracting C# long type
Inheritance: ScalarType
Show file Open project: ecologylab/simplCSharp

Public Methods

Method Description
GetInstance ( String value, String formatStrings, IScalarUnmarshallingContext scalarUnmarshallingContext ) : object

Creates and returns an instance of long type for the given input value.

IsDefaultValue ( FieldInfo field, Object context ) : bool
LongType ( ) : System

Calls the parent constructor for int type

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

Method Details

GetInstance() public method

Creates and returns an instance of long type for the given input value.
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

LongType() public method

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

LongType() public method

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

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