/src/LinFu.AOP.Interfaces/IBeforeInvoke.cs

http://github.com/philiplaureano/LinFu · C# · 16 lines · 7 code · 0 blank · 9 comment · 0 complexity · fddf1850c765c93ee518b7af960ba8a8 MD5 · raw file

  1. namespace LinFu.AOP.Interfaces
  2. {
  3. /// <summary>
  4. /// Represents a class that is invoked before a method call.
  5. /// </summary>
  6. public interface IBeforeInvoke
  7. {
  8. /// <summary>
  9. /// This method will be called just before the actual
  10. /// method call is executed.
  11. /// </summary>
  12. /// <param name="info">The <see cref="IInvocationInfo" /> associated with the method call.</param>
  13. /// <seealso cref="IInvocationInfo" />
  14. void BeforeInvoke(IInvocationInfo info);
  15. }
  16. }