IScopedIocResolver.cs 562 B

123456789101112
  1. using System;
  2. namespace Abp.Dependency
  3. {
  4. /// <summary>
  5. /// This interface is used to wrap a scope for batch resolvings in a single <c>using</c> statement.
  6. /// It inherits <see cref="IDisposable" /> and <see cref="IIocResolver" />, so resolved objects can be easily and batch
  7. /// manner released by IocResolver.
  8. /// In <see cref="IDisposable.Dispose" /> method, <see cref="IIocResolver.Release" /> is called to dispose the object.
  9. /// </summary>
  10. public interface IScopedIocResolver : IIocResolver, IDisposable { }
  11. }