BoundConstructor Class |
Namespace: Autofac.Core.Activators.Reflection
The BoundConstructor type exposes the following members.
Name | Description | |
---|---|---|
ArgumentCount |
Gets the total number of arguments for the bound constructor.
| |
Binder |
Gets the binder that created this binding.
| |
CanInstantiate |
Gets a value indicating whether the binding is valid.
| |
Description |
Gets a description of the constructor parameter binding.
| |
TargetConstructor |
Gets the constructor on the target type. The actual constructor used
might differ, e.g. if using a dynamic proxy.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
ForBindFailure |
Initializes a new instance of the BoundConstructor class, for an unsuccessful bind.
| |
ForBindSuccess |
Initializes a new instance of the BoundConstructor class for a successful bind.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Instantiate |
Invoke the constructor with the parameter bindings.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a System.String that represents the current System.Object. (Overrides ObjectToString.) |