C# Класс Simpl.Serialization.Types.Scalar.BooleanType

Represents a scalar value of True or False
Наследование: ScalarType
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

BooleanType() публичный Метод

Calls the parent constructor for int type
public BooleanType ( ) : System
Результат System

BooleanType() публичный Метод

public BooleanType ( Type type ) : System
type System.Type
Результат System

GetInstance() публичный Метод

public GetInstance ( string value, string formatStrings, IScalarUnmarshallingContext scalarUnmarshallingContext ) : object
value string
formatStrings string
scalarUnmarshallingContext IScalarUnmarshallingContext
Результат object

IsDefaultValue() публичный Метод

public IsDefaultValue ( FieldInfo field, Object context ) : bool
field System.Reflection.FieldInfo
context Object
Результат bool

Marshall() публичный Метод

public Marshall ( object instance, TranslationContext context = null ) : string
instance object
context Simpl.Serialization.Context.TranslationContext
Результат string

NeedsJsonQuotationWrap() публичный Метод

public NeedsJsonQuotationWrap ( ) : bool
Результат bool

SimplEquals() публичный Метод

public SimplEquals ( object left, object right ) : bool
left object
right object
Результат bool