Click or drag to resize

TypeExtensions Class

Inheritance Hierarchy

Namespace:  Autofac
Assembly:  Autofac (in Autofac.dll) Version: 4.9.1+831973f4d02fbc619921dfaa8ac0c536f60ae7a3
public static class TypeExtensions

The TypeExtensions type exposes the following members.

Public methodStatic memberGetMatchingConstructor
Finds a constructor with the matching type parameters.
Public methodStatic memberIsAssignableToT
Determines whether this type is assignable to T.
Public methodStatic memberIsClosedTypeOf
Determines whether the candidate type supports any base or interface that closes the provided generic type.
Public methodStatic memberIsInNamespace
Returns true if this type is in the namespace namespace or one of its sub-namespaces.
Public methodStatic memberIsInNamespaceOfT
Returns true if this type is in the same namespace as T or one of its sub-namespaces.
See Also