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