Volume Control
Application-specific hotkeys for Windows
VolumeControl.TypeExtensions.TypeExtensions Class Reference

Extends the Type class with additional methods. More...

Collaboration diagram for VolumeControl.TypeExtensions.TypeExtensions:

Static Public Member Functions

static bool IsDerivedFrom (this Type t, Type other)
 
static bool IsStruct (this Type t)
 
Returns
true when t is a struct; otherwise false.

 
static bool IsCustomStruct (this Type t)
 
Returns
true when t is a struct and not a primative type (i.e. int, bool, etc.); otherwise false.

 
static IEnumerable< Type > GetAllDerivedTypes (this Type type)
 Gets all of the types derived from type that are found in the same assembly. More...
 
static IEnumerable< Type > GetAllDerivedTypes (this Assembly asm, Type type)
 

Detailed Description

Extends the Type class with additional methods.

Member Function Documentation

◆ GetAllDerivedTypes()

static IEnumerable<Type> VolumeControl.TypeExtensions.TypeExtensions.GetAllDerivedTypes ( this Type  type)
static

Gets all of the types derived from type that are found in the same assembly.

Parameters
typeA Type.
Returns
A list of all types derived from type that are defined in the same assembly.

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