Arbor 3: FSM & BT Graph Editor  3.7.8
EachField< T > Class Template Reference

Find each serializable field More...

Public Member Functions

delegate void OnFind (T value)
 Callback when found. More...
 
delegate void OnFindEx (T value, FieldInfo fieldInfo)
 Callback when found. More...
 

Static Public Member Functions

static IEnumerable< DynamicFieldGetFields (System.Type type)
 Get Fields More...
 
static void Find (object obj, System.Type type, OnFind onFind)
 Find the field. More...
 
static void Find (object obj, System.Type type, OnFindEx onFind)
 Find the field. More...
 
static void ClearCache ()
 Clear cache More...
 

Detailed Description

Find each serializable field

Template Parameters
TType to find

Member Function Documentation

◆ ClearCache()

static void ClearCache ( )
static

Clear cache

◆ Find() [1/2]

static void Find ( object  obj,
System.Type  type,
OnFind  onFind 
)
static

Find the field.

Parameters
objObject
typeType of object
onFindCallback If you find

◆ Find() [2/2]

static void Find ( object  obj,
System.Type  type,
OnFindEx  onFind 
)
static

Find the field.

Parameters
objObject
typeType of object
onFindCallback If you find

◆ GetFields()

static IEnumerable<DynamicField> GetFields ( System.Type  type)
static

Get Fields

Parameters
typeObject type
Returns
Field enumerator

◆ OnFind()

delegate void OnFind ( value)

Callback when found.

Parameters
valuefind value

◆ OnFindEx()

delegate void OnFindEx ( value,
FieldInfo  fieldInfo 
)

Callback when found.

Parameters
valuefind value
fieldInfoFieldInfo of Value