Class AbpTypeExtensions
Inheritance
object
AbpTypeExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.Core.dll
Syntax
public static class AbpTypeExtensions
Methods
GetBaseClasses(Type, bool)
Declaration
public static Type[] GetBaseClasses(this Type type, bool includeObject = true)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
bool |
includeObject |
|
Returns
Type |
Description |
System.Type[] |
|
GetBaseClasses(Type, Type, bool)
Declaration
public static Type[] GetBaseClasses(this Type type, Type stoppingType, bool includeObject = true)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.Type |
stoppingType |
|
bool |
includeObject |
|
Returns
Type |
Description |
System.Type[] |
|
GetFullNameWithAssemblyName(Type)
Declaration
public static string GetFullNameWithAssemblyName(this Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
IsAssignableTo(Type, Type)
Declaration
public static bool IsAssignableTo(this Type type, Type targetType)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.Type |
targetType |
|
Returns
IsAssignableTo<TTarget>(Type)
Declaration
public static bool IsAssignableTo<TTarget>(this Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type Parameters