Click or drag to resize

TypeExtensions Methods

[This is preliminary documentation and is subject to change.]

The TypeExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCast
Attempts to cast an object to the provided type
Public methodStatic memberFindPrivateBackingFieldOfIEnumerable
Attempts to find the private field which holds the data of a type that implements IEnumerable
Public methodStatic memberGetElementTypeOfCollection
Determines the Type of elements in a collection type (e.g. string[], List{T}, ...)
Public methodStatic memberGetPropertyForCustomAttributesT
Attempts to find a property on type typeForJob that has an attribute of type T defined.
Public methodStatic memberCode exampleGetTypeNameWithoutGenerics
Returns the name of a type with generic parameters, without its generic parameter
Top
See Also