/src/LinFu.AOP.Interfaces/IAroundInvokeHost.cs

http://github.com/philiplaureano/LinFu · C# · 22 lines · 8 code · 1 blank · 13 comment · 0 complexity · 8d869cd63921e94b74eae1937e024c64 MD5 · raw file

  1. namespace LinFu.AOP.Interfaces
  2. {
  3. /// <summary>
  4. /// Represents a type that supports injecting code around a method body or method call.
  5. /// </summary>
  6. public interface IAroundInvokeHost
  7. {
  8. /// <summary>
  9. /// Gets or sets the value indicating the <see cref="IAroundInvokeProvider" />
  10. /// that will be used to inject code "around" a particular method body
  11. /// implementation.
  12. /// </summary>
  13. IAroundInvokeProvider AroundMethodBodyProvider { get; set; }
  14. /// <summary>
  15. /// Gets or sets the value indicating the <see cref="IAroundInvokeProvider" />
  16. /// that will be used to inject code "around" a particular method call
  17. /// implementation.
  18. /// </summary>
  19. IAroundInvokeProvider AroundMethodCallProvider { get; set; }
  20. }
  21. }