/src/LinFu.AOP.Interfaces/IInvokeWrapper.cs

http://github.com/philiplaureano/LinFu · C# · 18 lines · 7 code · 0 blank · 11 comment · 0 complexity · 44dcb362ef7faf56b8cb3d8a2fe1b309 MD5 · raw file

  1. namespace LinFu.AOP.Interfaces
  2. {
  3. /// <summary>
  4. /// Represents a special type of interceptor that can
  5. /// wrap itself around a method call.
  6. /// </summary>
  7. public interface IInvokeWrapper : IAroundInvoke
  8. {
  9. /// <summary>
  10. /// This method will provide the actual implementation
  11. /// for the <see cref="IInvocationInfo.TargetMethod">target method</see>
  12. /// instance.
  13. /// </summary>
  14. /// <param name="info">The <see cref="IInvocationInfo" /> associated with the method call.</param>
  15. /// <returns>The actual return value from the <see cref="IInvocationInfo.TargetMethod" />.</returns>
  16. object DoInvoke(IInvocationInfo info);
  17. }
  18. }