/src/LinFu.IoC.Common/IPostProcessor.cs

http://github.com/philiplaureano/LinFu · C# · 17 lines · 7 code · 0 blank · 10 comment · 0 complexity · 2fc37a30e1eecf16688de61d68928c03 MD5 · raw file

  1. namespace LinFu.IoC.Interfaces
  2. {
  3. /// <summary>
  4. /// Represents a class that can inspect or modify service requests
  5. /// from a given container once a service is created.
  6. /// </summary>
  7. public interface IPostProcessor
  8. {
  9. /// <summary>
  10. /// Allows a <see cref="IPostProcessor" /> instance
  11. /// to inspect or modify the result of a service request.
  12. /// </summary>
  13. /// <seealso cref="IServiceRequestResult" />
  14. /// <param name="result">The <see cref="IServiceRequestResult" /> created as a result of the container operation.</param>
  15. void PostProcess(IServiceRequestResult result);
  16. }
  17. }