Class TypeExtensions
- Namespace
- Dynamicweb.Extensibility
- Assembly
- Dynamicweb.Core.dll
Class TypeExtensions contains extension methods for working with types.
public static class TypeExtensions
- Inheritance
-
TypeExtensions
- Inherited Members
Methods
GetTypeNameWithAssembly(Type)
Get name of the type in format "[FullName], [AssemblyName]"
public static string GetTypeNameWithAssembly(this Type type)
Parameters
type
Type
Returns
HasCustomAttribute<T>(MemberInfo)
public static bool HasCustomAttribute<T>(this MemberInfo member) where T : Attribute
Parameters
member
MemberInfo
Returns
Type Parameters
T
IsDerivedFrom(Type, Type, params Type[])
public static bool IsDerivedFrom(this Type type, Type baseType, params Type[] genericTypeParameters)
Parameters
Returns
IsDerivedFrom<TBase>(Type, params Type[])
public static bool IsDerivedFrom<TBase>(this Type type, params Type[] genericTypeParameters)
Parameters
Returns
Type Parameters
TBase