C# Class BinaryGo.Runtime.PropertyGoInfo

Generates type details in memory
Inheritance: BasePropertyGoInfo
Datei anzeigen Open project: Ali-YousefiTelori/BinaryGo

Public Properties

Property Type Description
GetValue TPropertyType>.GetPropertyValue
SetValue TPropertyType>.Action
TypeGoInfo TypeGoInfo
TypedDefaultValue TPropertyType

Public Methods

Method Description
PropertyGoInfo ( PropertyInfo property, ITypeOptions options ) : BinaryGo.Binary.Deserialize

property info of a type

Private Methods

Method Description
BinaryDeserialize ( BinarySpanReader &reader, &value ) : void
BinarySerialize ( BufferBuilder &stream, &value ) : void
GetBinaryMember ( BaseOptionInfo option, Dictionary generatedModels ) : MemberBinaryModelInfo

Get binary member

JsonDeserializeArray ( &instance, JsonDeserializer &deserializer, JsonSpanReader &reader ) : void
JsonDeserializeObject ( &instance, JsonDeserializer &deserializer, JsonSpanReader &reader ) : void
JsonDeserializeString ( &instance, JsonSpanReader &reader ) : void
JsonDeserializeValue ( &instance, JsonSpanReader &reader ) : void

json deserialize values of number or bool

TypedJsonSerialize ( JsonSerializeHandler &handler, &value ) : void

Method Details

PropertyGoInfo() public method

property info of a type
public PropertyGoInfo ( PropertyInfo property, ITypeOptions options ) : BinaryGo.Binary.Deserialize
property PropertyInfo
options ITypeOptions
return BinaryGo.Binary.Deserialize

Property Details

GetValue public_oe property

Gets property value
public GetPropertyValue GetValue
return TPropertyType>.GetPropertyValue

SetValue public_oe property

Set value of property
public Action SetValue
return TPropertyType>.Action

TypeGoInfo public_oe property

Current TypeGoInfo mirror of property type
public TypeGoInfo TypeGoInfo
return TypeGoInfo

TypedDefaultValue public_oe property

default value with type safed
public TPropertyType TypedDefaultValue
return TPropertyType