/src/LinFu.AOP.Interfaces/IMethodReplacementHost.cs

http://github.com/philiplaureano/LinFu · C# · 20 lines · 8 code · 1 blank · 11 comment · 0 complexity · 9936a83a33e5c59248d94b246ee119f1 MD5 · raw file

  1. namespace LinFu.AOP.Interfaces
  2. {
  3. /// <summary>
  4. /// Represents a type that can have its method body implementations replaced at runtime.
  5. /// </summary>
  6. public interface IMethodReplacementHost
  7. {
  8. /// <summary>
  9. /// Gets or sets a value indicating the <see cref="IMethodReplacementProvider" /> that will be used to swap method body
  10. /// implementations at runtime.
  11. /// </summary>
  12. IMethodReplacementProvider MethodBodyReplacementProvider { get; set; }
  13. /// <summary>
  14. /// Gets or sets a value indicating the <see cref="IMethodReplacementProvider" /> that will be used to swap method body
  15. /// implementations at runtime.
  16. /// </summary>
  17. IMethodReplacementProvider MethodCallReplacementProvider { get; set; }
  18. }
  19. }