PageRenderTime 115ms CodeModel.GetById 113ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1using LinFu.AOP.Interfaces;
 2
 3namespace SampleLibrary.AOP
 4{
 5    public class SampleInterceptor : IInterceptor
 6    {
 7        public bool HasBeenInvoked { get; set; }
 8
 9
10        public object Intercept(IInvocationInfo info)
11        {
12            HasBeenInvoked = true;
13            return null;
14        }
15    }
16}