Click or drag to resize

TypeExtensions Class

Extensions to all Type objects.
Inheritance Hierarchy
SystemObject
  GSFTypeExtensions

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public static class TypeExtensions
View Source

The TypeExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodGetFriendlyClassName Gets the friendly class name of the provided type, trimming generic parameters.
Public Extension MethodGetReflectedTypeName Gets a C#-compatible proper type name, resolving generic type names using reflection with no backticks (`), for the specified type.
Public Extension MethodGetRootType Gets the root type in the inheritance hierarchy from which the specified type inherits.
Public Extension MethodIsNumeric Determines if the specified type is a native structure that represents a numeric value.
Public Extension MethodLoadImplementations(Type) Loads public types from assemblies in the application binaries directory that implement the specified type either through class inheritance or interface implementation.
Public Extension MethodLoadImplementations(Type, Boolean) Loads public types from assemblies in the application binaries directory that implement the specified type either through class inheritance or interface implementation.
Public Extension MethodLoadImplementations(Type, String) Loads public types from assemblies in the specified binariesDirectory that implement the specified type either through class inheritance or interface implementation.
Public Extension MethodLoadImplementations(Type, String, Boolean, Boolean, Boolean) Loads public types from assemblies in the specified binariesDirectory that implement the specified type either through class inheritance or interface implementation.
Top
See Also

Reference

GSF Namespace