| IDisposerAddInstanceForDisposal Method  | 
 
            Adds an object to the disposer. When the disposer is
            disposed, so will the object be.
            
 
    Namespace: 
   Autofac.Core
    Assembly:
   Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
 Syntax
Syntaxvoid AddInstanceForDisposal(
	IDisposable instance
)
Sub AddInstanceForDisposal ( 
	instance As IDisposable
)
Parameters
- instance
- Type: SystemIDisposable
 The instance.
 See Also
See Also