Show / Hide Table of Contents

Interface IMyReflection

ModAPI interface giving some reflection tools

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game.dll
Syntax
public interface IMyReflection

Methods

BaseTypeOf(Type)

System.Type.BaseType

Declaration
Type BaseTypeOf(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Type

GetInterfaces(Type)

System.Type.GetInterfaces

Declaration
Type[] GetInterfaces(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Type[]

IsAssignableFrom(Type, Type)

System.Type.IsAssignableFrom(System.Type)

Declaration
bool IsAssignableFrom(Type baseType, Type derivedType)
Parameters
Type Name Description
System.Type baseType
System.Type derivedType
Returns
Type Description
System.Boolean

IsInstanceOfType(Type, Object)

System.Type.IsInstanceOfType(System.Object)

Declaration
bool IsInstanceOfType(Type type, object instance)
Parameters
Type Name Description
System.Type type
System.Object instance
Returns
Type Description
System.Boolean
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾