Class TypeExtensions
Extension methods for System.Type
Inheritance
System.Object
TypeExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Lib.Reflection
Assembly: ImageVault.Common.dll
Syntax
public static class TypeExtensions
Methods
AssemblyUnqualifiedName(Type)
Gets the the name of the unqualifed type, consisting only of namespace.type, simpleassemblyname.
Declaration
public static string AssemblyUnqualifiedName(this Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type. |
Returns
Type | Description |
---|---|
System.String | A string with the unqualified name |
IsAnonymousType(Type)
Checks if the supplied type is an anonymous type
Declaration
public static bool IsAnonymousType(this Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type |
Returns
Type | Description |
---|---|
System.Boolean |