PageRenderTime 101ms CodeModel.GetById 60ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/src/SampleLibrary/AOP/SampleAroundInvokeProvider.cs

http://github.com/philiplaureano/LinFu
C# | 20 lines | 16 code | 4 blank | 0 comment | 0 complexity | d2ea374c3e67e29ec858bec13e7ef75d MD5 | raw file
 1using LinFu.AOP.Interfaces;
 2
 3namespace SampleLibrary.AOP
 4{
 5    public class SampleAroundInvokeProvider : IAroundInvokeProvider
 6    {
 7        private readonly IAroundInvoke _aroundInvoke;
 8
 9        public SampleAroundInvokeProvider(IAroundInvoke aroundInvoke)
10        {
11            _aroundInvoke = aroundInvoke;
12        }
13
14
15        public IAroundInvoke GetSurroundingImplementation(IInvocationInfo context)
16        {
17            return _aroundInvoke;
18        }
19    }
20}