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