Click or drag to resize

TypeExtensions Class

Inheritance Hierarchy
SystemObject
  AutofacTypeExtensions

Namespace:  Autofac
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public static class TypeExtensions

The TypeExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetDeclaredConstructors
Returns a collection of constructor infomration that represents the declared constructors for the type (public and private).
Public methodStatic memberGetDeclaredMethod
Returns an object that represents the specified method declared by the current type.
Public methodStatic memberGetDeclaredProperty
Returns an object that represents the specified property declared by the current type.
Public methodStatic memberGetDeclaredPublicConstructors
Returns a collection of constructor infomration that represents the declared constructors for the type (public only).
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