TypeHelper
A utility class for type checking, this provides internal caching so that calls to these methods will be faster
than doing a manual type check in c#
public static PropertyInfo[] CachedDiscoverableProperties(Type type, bool mustRead = true, bool mustWrite = true, bool includeIndexed = false)
Finds a lowest base class amongst a collection of types
public static PropertyInfo GetProperty(Type type, string name, bool mustRead = true, bool mustWrite = true, bool includeIndexed = false, bool caseSensitive = true)
Returns (and caches) a PropertyInfo from a type
public static Assembly[] GetReferencingAssemblies(Assembly assembly, IEnumerable<Assembly> assemblies)
Find all assembly references that are referencing the assignTypeFrom Type's assembly found in the assemblyList
Determines if an assembly references another assembly.
A method to determine whether implementation is an implied value type ( IsValueType, IsEnum or a string).
Returns true if the type is a class and is not static
Checks if the method is actually overriding a base method
Returns true if the type is a static class
Determines whether the type implementation is assignable from the specified implementation,
and caches the result across the application using a ConcurrentDictionary<T, U>.
Determines whether the type implementation is assignable from the specified implementation TContract,
and caches the result across the application using a ConcurrentDictionary<T, U>.
Determines whether the object instance implementation is assignable from the specified implementation TContract,
and caches the result across the application using a ConcurrentDictionary<T, U>.
A method to determine whether implementation represents a value type.