ProvidedInstanceActivatorDisposeInstance Property |
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.
Namespace:
Autofac.Core.Activators.ProvidedInstance
Assembly:
Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax public bool DisposeInstance { get; set; }
Public Property DisposeInstance As Boolean
Get
Set
Property Value
Type:
Boolean[Missing <value> documentation for "P:Autofac.Core.Activators.ProvidedInstance.ProvidedInstanceActivator.DisposeInstance"]
See Also