TypeExtensions Class |
Namespace: Autofac
The TypeExtensions type exposes the following members.
Name | Description | |
---|---|---|
GetDeclaredConstructors |
Returns a collection of constructor infomration that represents the declared constructors
for the type (public and private).
| |
GetDeclaredMethod |
Returns an object that represents the specified method declared by the
current type.
| |
GetDeclaredProperty |
Returns an object that represents the specified property declared by the
current type.
| |
GetDeclaredPublicConstructors |
Returns a collection of constructor infomration that represents the declared constructors
for the type (public only).
| |
GetMatchingConstructor |
Finds a constructor with the matching type parameters.
| |
IsAssignableToT |
Determines whether this type is assignable to T.
| |
IsClosedTypeOf |
Determines whether the candidate type supports any base or
interface that closes the provided generic type.
| |
IsInNamespace |
Returns true if this type is in the namespace namespace
or one of its sub-namespaces.
| |
IsInNamespaceOfT |
Returns true if this type is in the same namespace as T
or one of its sub-namespaces.
|