C# 클래스 ToggleableBindings.Extensions.ReflectionExtensions

파일 보기 프로젝트 열기: Unordinal/HollowKnight.ToggleableBindings

공개 메소드들

메소드 설명
GetCustomAttributes ( MemberInfo element, bool inherit ) : IEnumerable
GetMemberValue ( MemberInfo member, object? backingObject ) : object?
GetMemberValue ( Type type, string memberName, object? backingObject ) : object?
GetMemberValue ( MemberInfo member, object? backingObject ) : T?
GetMemberValue ( Type type, string memberName, object? backingObject ) : T?
GetUnderlyingType ( MemberInfo member ) : Type
IsAssignableTo ( Type type, Type other ) : bool
IsNullable ( Type type ) : bool
SetMemberValue ( MemberInfo member, object? backingObject, object? value, object[]? index = null ) : void

메소드 상세

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( MemberInfo element, bool inherit ) : IEnumerable
element MemberInfo
inherit bool
리턴 IEnumerable

GetMemberValue() 공개 정적인 메소드

public static GetMemberValue ( MemberInfo member, object? backingObject ) : object?
member MemberInfo
backingObject object?
리턴 object?

GetMemberValue() 공개 정적인 메소드

public static GetMemberValue ( Type type, string memberName, object? backingObject ) : object?
type Type
memberName string
backingObject object?
리턴 object?

GetMemberValue() 공개 정적인 메소드

public static GetMemberValue ( MemberInfo member, object? backingObject ) : T?
member MemberInfo
backingObject object?
리턴 T?

GetMemberValue() 공개 정적인 메소드

public static GetMemberValue ( Type type, string memberName, object? backingObject ) : T?
type Type
memberName string
backingObject object?
리턴 T?

GetUnderlyingType() 공개 정적인 메소드

public static GetUnderlyingType ( MemberInfo member ) : Type
member MemberInfo
리턴 Type

IsAssignableTo() 공개 정적인 메소드

public static IsAssignableTo ( Type type, Type other ) : bool
type Type
other Type
리턴 bool

IsNullable() 공개 정적인 메소드

public static IsNullable ( Type type ) : bool
type Type
리턴 bool

SetMemberValue() 공개 정적인 메소드

public static SetMemberValue ( MemberInfo member, object? backingObject, object? value, object[]? index = null ) : void
member MemberInfo
backingObject object?
value object?
index object[]?
리턴 void