ProvidedInstanceActivator Class |
Namespace: Autofac.Core.Activators.ProvidedInstance
The ProvidedInstanceActivator type exposes the following members.
Name | Description | |
---|---|---|
ProvidedInstanceActivator |
Initializes a new instance of the ProvidedInstanceActivator class.
|
Name | Description | |
---|---|---|
DisposeInstance |
Gets or sets a value indicating whether the activator disposes the instance that it holds.
Necessary because otherwise instances that are never resolved will never be
disposed.
| |
IsDisposed |
Gets a value indicating whether the current instance has been disposed.
(Inherited from Disposable.) | |
LimitType |
Gets the most specific type that the component instances are known to be castable to.
(Inherited from InstanceActivator.) |
Name | Description | |
---|---|---|
CheckNotDisposed |
Asserts that the activator has not been disposed.
(Inherited from InstanceActivator.) | |
ConfigurePipeline |
Allows an implementation to add middleware to a registration's resolve pipeline.
| |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Disposable.) | |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
(Overrides DisposableDispose(Boolean).) | |
DisposeAsync | (Inherited from Disposable.) | |
DisposeAsync(Boolean) |
Releases unmanaged and - optionally - managed resources, asynchronously.
(Inherited from Disposable.) | |
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.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Gets a string representation of the activator.
(Inherited from InstanceActivator.) |