PixelCrushers.RuntimeTypeUtility Class Reference

Utility methods to work with types. More...

Static Public Member Functions

static System.Type GetTypeFromName (string typeName)
 Searches all assemblies for a type with a specified name.
 
static System.Reflection.Assembly[] GetAssemblies ()
 
static System.Type GetWrapperType (System.Type type)
 Gets the wrapper type for a Pixel Crushers type, or returns the type itself for a non-Pixel Crushers type.
 

Detailed Description

Utility methods to work with types.

Member Function Documentation

◆ GetAssemblies()

static System.Reflection.Assembly[] PixelCrushers.RuntimeTypeUtility.GetAssemblies ( )
inlinestatic

◆ GetTypeFromName()

static System.Type PixelCrushers.RuntimeTypeUtility.GetTypeFromName ( string  typeName)
inlinestatic

Searches all assemblies for a type with a specified name.

Parameters
typeNameFully-qualified type name.
Returns
A type, or null if none matches.

◆ GetWrapperType()

static System.Type PixelCrushers.RuntimeTypeUtility.GetWrapperType ( System::Type  type)
inlinestatic

Gets the wrapper type for a Pixel Crushers type, or returns the type itself for a non-Pixel Crushers type.

Wrappers are used to maintain references when switching between source and DLLs.

Parameters
typeOriginal type.
Returns
Wrapper type.

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