フィールドへ直接的にアクセスするクラス。
More...
Inherited by DynamicField.DefaultField, and DynamicField.DelegatedField.
フィールドへ直接的にアクセスするクラス。
AOTやIL2CPP環境ではReflectionによるアクセスとなる。
◆ GetField()
DynamicFieldを返す。
- Parameters
-
- Returns
- 指定したFieldInfoを参照したDynamicField
◆ GetValue()
abstract object GetValue |
( |
object |
instance | ) |
|
|
pure virtual |
フィールドの値を返す。
- Parameters
-
instance | フィールドを持っているインスタンス |
- Returns
- フィールドの値
◆ SetValue()
abstract void SetValue |
( |
object |
instance, |
|
|
object |
value |
|
) |
| |
|
pure virtual |
フィールドの値を設定する。
- Parameters
-
instance | フィールドを持っているインスタンス |
value | フィールドの値 |
◆ fieldInfo