Class TypeExtensions
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: Xbim.IO
Assembly: Xbim.Common.dll
Syntax
public static class TypeExtensions
Methods
| Improve this Doc View SourceGenericTypeArgumentIsAssignableFrom(Type, Type)
Declaration
public static bool GenericTypeArgumentIsAssignableFrom(this Type genericType, Type assignableType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | genericType | |
System.Type | assignableType |
Returns
Type | Description |
---|---|
System.Boolean |
GetItemTypeFromGenericType(Type)
Declaration
public static Type GetItemTypeFromGenericType(this Type genericType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | genericType |
Returns
Type | Description |
---|---|
System.Type |