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