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

Represents a scalar value of True or False
Inheritance: ScalarType
Afficher le fichier Open project: ecologylab/simplCSharp

Méthodes publiques

Méthode Description
BooleanType ( ) : System

Calls the parent constructor for int type

BooleanType ( Type type ) : System

GetInstance ( string value, string formatStrings, IScalarUnmarshallingContext scalarUnmarshallingContext ) : object

IsDefaultValue ( FieldInfo field, Object context ) : bool

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

Method Details

BooleanType() public méthode

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

BooleanType() public méthode

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

GetInstance() public méthode

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

NeedsJsonQuotationWrap() public méthode

public NeedsJsonQuotationWrap ( ) : bool
Résultat bool

SimplEquals() public méthode

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