Click or drag to resize

TypeExtensions Class

Inheritance Hierarchy
SystemObject
  AutofacTypeExtensions

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

The TypeExtensions type exposes the following members.

Methods
  NameDescription
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.
Top
See Also