JUtils
A unity utilities library
JUtils.AssemblyJUtils Class Reference

Utilities class working with assemblies More...

Static Public Member Functions

static IEnumerable< Type > GetAllTypes ()
 Get all types in all assemblies More...
 
static Type GetTypeFromCode (int typeHashCode, int assemblyHashCode)
 
static Type GetType (string typeName)
 Get the type from a name More...
 
static bool ExtendsClassOrInterface (Type current, Type target)
 Check if the given type extends the target type More...
 

Detailed Description

Utilities class working with assemblies

Member Function Documentation

◆ ExtendsClassOrInterface()

static bool JUtils.AssemblyJUtils.ExtendsClassOrInterface ( Type  current,
Type  target 
)
inlinestatic

Check if the given type extends the target type

Parameters
currentThe type to check
targetThe desired type
Returns
True if current extends the target
Here is the caller graph for this function:

◆ GetAllTypes()

static IEnumerable<Type> JUtils.AssemblyJUtils.GetAllTypes ( )
inlinestatic

Get all types in all assemblies

◆ GetType()

static Type JUtils.AssemblyJUtils.GetType ( string  typeName)
inlinestatic

Get the type from a name

Parameters
typeNameAssembly type name
Returns
The type
Here is the caller graph for this function:

◆ GetTypeFromCode()

static Type JUtils.AssemblyJUtils.GetTypeFromCode ( int  typeHashCode,
int  assemblyHashCode 
)
inlinestatic
Here is the caller graph for this function:

The documentation for this class was generated from the following file: