C# Class Ecologylab.BigSemantics.MetadataNS.Scalar.Types.MetadataScalarType

Inheritance: Simpl.Serialization.Types.Scalar.ReferenceType
显示文件 Open project: ecologylab/BigSemanticsCSharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetInstance ( string value, string formatStrings, IScalarUnmarshallingContext unmarshallingContext ) : object
GetValueInstance ( String value, String formatStrings, IScalarUnmarshallingContext scalarUnmarshallingContext ) : Object
Marshall ( object instance, TranslationContext context = null ) : string
MetadataScalarType ( ) : System
NeedsJsonQuotationWrap ( ) : bool
SetField ( object context, FieldInfo field, string valueString, string format, IScalarUnmarshallingContext scalarUnmarshallingContext ) : bool
SimplEquals ( object left, object right ) : bool
init ( ) : void

Protected Methods

Method Description
MetadataScalarType ( Type metadataScalarTypeClass, Type valueClass ) : System

Method Details

GetInstance() public method

public GetInstance ( string value, string formatStrings, IScalarUnmarshallingContext unmarshallingContext ) : object
value string
formatStrings string
unmarshallingContext IScalarUnmarshallingContext
return object

GetValueInstance() public method

public GetValueInstance ( String value, String formatStrings, IScalarUnmarshallingContext scalarUnmarshallingContext ) : Object
value String
formatStrings String
scalarUnmarshallingContext IScalarUnmarshallingContext
return Object

Marshall() public method

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

MetadataScalarType() public method

public MetadataScalarType ( ) : System
return System

MetadataScalarType() protected method

protected MetadataScalarType ( Type metadataScalarTypeClass, Type valueClass ) : System
metadataScalarTypeClass System.Type
valueClass System.Type
return System

NeedsJsonQuotationWrap() public method

public NeedsJsonQuotationWrap ( ) : bool
return bool

SetField() public method

public SetField ( object context, FieldInfo field, string valueString, string format, IScalarUnmarshallingContext scalarUnmarshallingContext ) : bool
context object
field System.Reflection.FieldInfo
valueString string
format string
scalarUnmarshallingContext IScalarUnmarshallingContext
return bool

SimplEquals() public method

public SimplEquals ( object left, object right ) : bool
left object
right object
return bool

init() public static method

public static init ( ) : void
return void