Extension methods for Type.
|
| static string | NameWithGenericArgs (this Type type) |
| | Returns the type with generic parameters in C# style, e.g. typeof(List<List<string>>.NameWithGenericArgs() returns List<List<String>>. More...
|
| |
|
static bool | IsPrimitiveInteger (this RuntimeTypeHandle h) |
| |
|
static bool | IsPrimitiveFloat (this RuntimeTypeHandle h) |
| |
|
static bool | IsPrimitiveNumeric (this RuntimeTypeHandle h) |
| |
| static IReadOnlyList< Type > | GetInterfacesSortedTopologically (this Type type) |
| | Gets a list of the interfaces that the specified type implements, sorted topologically so that the highest-level interfaces are listed first. Note: TypeTraits{T}.Interfaces provides the same information memoized, for fast repeated access. More...
|
| |
| static IReadOnlyList< Type > | SortWithBaseInterfacesTopologically (params Type[] startingTypes) |
| | Gets the base interfaces of the specified types and sorts all the types (including those provided) topologically, with the highest-level types first. More...
|
| |