/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
- namespace LinFu.AOP.Interfaces
- {
- /// <summary>
- /// Represents a type that can have its method body implementations replaced at runtime.
- /// </summary>
- public interface IMethodReplacementHost
- {
- /// <summary>
- /// Gets or sets a value indicating the <see cref="IMethodReplacementProvider" /> that will be used to swap method body
- /// implementations at runtime.
- /// </summary>
- IMethodReplacementProvider MethodBodyReplacementProvider { get; set; }
- /// <summary>
- /// Gets or sets a value indicating the <see cref="IMethodReplacementProvider" /> that will be used to swap method body
- /// implementations at runtime.
- /// </summary>
- IMethodReplacementProvider MethodCallReplacementProvider { get; set; }
- }
- }