Method AccessInternalField
AccessInternalField<T>(Type, object, string)
Cheater extension to access internal field of an object
선언
public static T AccessInternalField<T>(this Type type, object obj, string memberName)
파라미터
타입 | 이름 | 설명 |
---|---|---|
Type | type | The type of the field |
object | obj | The object to access |
string | memberName | The string name of the field to access |
반환
타입 | 설명 |
---|---|
T | The value of the field in the objects |
타입 파라미터
이름 | 설명 |
---|---|
T |