/src/LinFu.AOP.Interfaces/IAfterInvoke.cs

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

  1. namespace LinFu.AOP.Interfaces
  2. {
  3. /// <summary>
  4. /// Represents a class that is invoked after a method call.
  5. /// </summary>
  6. public interface IAfterInvoke
  7. {
  8. /// <summary>
  9. /// This method will be called immediately after the actual
  10. /// method call is executed.
  11. /// </summary>
  12. /// <param name="info">The <see cref="IInvocationInfo" /> associated with the method call.</param>
  13. /// <param name="returnValue">The value returned from the actual method call.</param>
  14. void AfterInvoke(IInvocationInfo info, object returnValue);
  15. }
  16. }