Click or drag to resize

IDisposer Interface

Provided on an object that will dispose of other objects when it is itself disposed.

Namespace:  Autofac.Core
Assembly:  Autofac (in Autofac.dll) Version: 4.9.1+831973f4d02fbc619921dfaa8ac0c536f60ae7a3
Syntax
public interface IDisposer : IDisposable

The IDisposer type exposes the following members.

Methods
  NameDescription
Public methodAddInstanceForDisposal
Adds an object to the disposer. When the disposer is disposed, so will the object be.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Top
See Also