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

Inheritance: Simpl.Serialization.Types.Scalar.ReferenceType
Afficher le fichier Open project: ecologylab/BigSemanticsCSharp Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

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

Méthodes protégées

Méthode Description
MetadataScalarType ( Type metadataScalarTypeClass, Type valueClass ) : System

Method Details

GetInstance() public méthode

public GetInstance ( string value, string formatStrings, IScalarUnmarshallingContext unmarshallingContext ) : object
value string
formatStrings string
unmarshallingContext IScalarUnmarshallingContext
Résultat object

GetValueInstance() public méthode

public GetValueInstance ( String value, String formatStrings, IScalarUnmarshallingContext scalarUnmarshallingContext ) : Object
value String
formatStrings String
scalarUnmarshallingContext IScalarUnmarshallingContext
Résultat Object

Marshall() public méthode

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

MetadataScalarType() public méthode

public MetadataScalarType ( ) : System
Résultat System

MetadataScalarType() protected méthode

protected MetadataScalarType ( Type metadataScalarTypeClass, Type valueClass ) : System
metadataScalarTypeClass System.Type
valueClass System.Type
Résultat System

NeedsJsonQuotationWrap() public méthode

public NeedsJsonQuotationWrap ( ) : bool
Résultat bool

SetField() public méthode

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

SimplEquals() public méthode

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

init() public static méthode

public static init ( ) : void
Résultat void