/src/SampleLibrary/AOP/SampleMethodReplacement.cs
http://github.com/philiplaureano/LinFu · C# · 16 lines · 13 code · 3 blank · 0 comment · 0 complexity · 159f4379588b8514e577241dc7f7ad8c MD5 · raw file
- using LinFu.AOP.Interfaces;
- namespace SampleLibrary.AOP
- {
- public class SampleMethodReplacement : IInterceptor
- {
- public bool HasBeenCalled { get; private set; }
- public object Intercept(IInvocationInfo info)
- {
- HasBeenCalled = true;
- return null;
- }
- }
- }