ContainerScopeRegisterForDisposal Method

Simple Injector
Overload List

  NameDescription
Public methodRegisterForDisposal(IDisposable)
Adds the disposable to the list of items that will get disposed when the container gets disposed.
Public methodRegisterForDisposal(Object)
Adds the disposable to the list of items that will get disposed when the container gets disposed.
Top
See Also

Reference