/src/LinFu.IoC.Common/IPreprocessor.cs

http://github.com/philiplaureano/LinFu · C# · 21 lines · 7 code · 0 blank · 14 comment · 0 complexity · bb58b436436586a12ee4dee237bb4c9e 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 before a service is created.
  6. /// </summary>
  7. public interface IPreProcessor
  8. {
  9. /// <summary>
  10. /// Allows a <see cref="IPostProcessor" /> instance
  11. /// to inspect or modify the result of a service request
  12. /// just before the service is instantiated.
  13. /// </summary>
  14. /// <seealso cref="IServiceRequestResult" />
  15. /// <param name="request">
  16. /// The <see cref="IServiceRequest" /> instance that describes the nature of the service that needs
  17. /// to be created.
  18. /// </param>
  19. void Preprocess(IServiceRequest request);
  20. }
  21. }