C# Class UUnitWsaReflectionExtensions, PlayFab-Samples

ファイルを表示 Open project: PlayFab/PlayFab-Samples

Public Methods

Method Description
AsType ( this type ) : Type
CreateDelegate ( this methodInfo, Type delegateType, object instance ) : Delegate
GetConstructors ( this typeInfo ) : IEnumerable
GetDelegateName ( this delegateInstance ) : string
GetFields ( this typeInfo ) : IEnumerable
GetMethod ( this type, string methodName ) : MethodInfo
GetMethods ( this typeInfo, BindingFlags, ignored ) : IEnumerable
GetTypeInfo ( this type ) : Type
GetTypeInfo ( this typeInfo ) : TypeInfo
GetTypes ( this assembly ) : IEnumerable
IsInstanceOfType ( this type, object obj ) : bool

Method Details

AsType() public static method

public static AsType ( this type ) : Type
type this
return Type

CreateDelegate() public static method

public static CreateDelegate ( this methodInfo, Type delegateType, object instance ) : Delegate
methodInfo this
delegateType Type
instance object
return Delegate

GetConstructors() public static method

public static GetConstructors ( this typeInfo ) : IEnumerable
typeInfo this
return IEnumerable

GetDelegateName() public static method

public static GetDelegateName ( this delegateInstance ) : string
delegateInstance this
return string

GetFields() public static method

public static GetFields ( this typeInfo ) : IEnumerable
typeInfo this
return IEnumerable

GetMethod() public static method

public static GetMethod ( this type, string methodName ) : MethodInfo
type this
methodName string
return MethodInfo

GetMethods() public static method

public static GetMethods ( this typeInfo, BindingFlags, ignored ) : IEnumerable
typeInfo this
ignored BindingFlags,
return IEnumerable

GetTypeInfo() public static method

public static GetTypeInfo ( this type ) : Type
type this
return Type

GetTypeInfo() public static method

public static GetTypeInfo ( this typeInfo ) : TypeInfo
typeInfo this
return TypeInfo

GetTypes() public static method

public static GetTypes ( this assembly ) : IEnumerable
assembly this
return IEnumerable

IsInstanceOfType() public static method

public static IsInstanceOfType ( this type, object obj ) : bool
type this
obj object
return bool