Click or drag to resize

BoundConstructor Class

Represents the outcome of a single bind attempt by a ConstructorBinder.
Inheritance Hierarchy

Namespace:  Autofac.Core.Activators.Reflection
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
public class BoundConstructor

The BoundConstructor type exposes the following members.

Public propertyArgumentCount
Gets the total number of arguments for the bound constructor.
Public propertyBinder
Gets the binder that created this binding.
Public propertyCanInstantiate
Gets a value indicating whether the binding is valid.
Public propertyDescription
Gets a description of the constructor parameter binding.
Public propertyTargetConstructor
Gets the constructor on the target type. The actual constructor used might differ, e.g. if using a dynamic proxy.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberForBindFailure
Initializes a new instance of the BoundConstructor class, for an unsuccessful bind.
Public methodStatic memberForBindSuccess
Initializes a new instance of the BoundConstructor class for a successful bind.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInstantiate
Invoke the constructor with the parameter bindings.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a System.String that represents the current System.Object.
(Overrides ObjectToString.)
See Also