/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
- namespace LinFu.AOP.Interfaces
- {
- /// <summary>
- /// Represents a special type of interceptor that can
- /// wrap itself around a method call.
- /// </summary>
- public interface IInvokeWrapper : IAroundInvoke
- {
- /// <summary>
- /// This method will provide the actual implementation
- /// for the <see cref="IInvocationInfo.TargetMethod">target method</see>
- /// instance.
- /// </summary>
- /// <param name="info">The <see cref="IInvocationInfo" /> associated with the method call.</param>
- /// <returns>The actual return value from the <see cref="IInvocationInfo.TargetMethod" />.</returns>
- object DoInvoke(IInvocationInfo info);
- }
- }