Arbor 3: FSM & BT Graph Editor  3.6.4
SerializeFieldInfo Class Reference

Information on the serialized field More...

Public Member Functions

 SerializeFieldInfo (FieldInfo fieldInfo, System.Type elementType)
 Initializes a new instance of the SerializeFieldInfo class. More...
 
object GetValue (object instance)
 Get the value of the field. More...
 
void SetValue (object instance, object value)
 Set a value in the field. More...
 

Properties

System.Type elementType [get]
 Element type More...
 
FieldInfo fieldInfo [get]
 Getting FieldInfo. More...
 
bool isClass [get]
 Return whether the field type is a class More...
 

Detailed Description

Information on the serialized field

Constructor & Destructor Documentation

◆ SerializeFieldInfo()

SerializeFieldInfo ( FieldInfo  fieldInfo,
System.Type  elementType 
)

Initializes a new instance of the SerializeFieldInfo class.

Parameters
fieldInfoFieldInfo
elementTypeType of field element

Member Function Documentation

◆ GetValue()

object GetValue ( object  instance)

Get the value of the field.

Parameters
instanceInstance
Returns
Field value

◆ SetValue()

void SetValue ( object  instance,
object  value 
)

Set a value in the field.

Parameters
instanceInstance
valueField value

Property Documentation

◆ elementType

System.Type elementType
get

Element type

◆ fieldInfo

FieldInfo fieldInfo
get

Getting FieldInfo.

◆ isClass

bool isClass
get

Return whether the field type is a class