ScopeRegisterForDisposal Method

Simple Injector
Overload List

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

Reference