/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
- using LinFu.AOP.Interfaces;
- namespace SampleLibrary.AOP
- {
- public class SampleAroundInvokeProvider : IAroundInvokeProvider
- {
- private readonly IAroundInvoke _aroundInvoke;
- public SampleAroundInvokeProvider(IAroundInvoke aroundInvoke)
- {
- _aroundInvoke = aroundInvoke;
- }
- public IAroundInvoke GetSurroundingImplementation(IInvocationInfo context)
- {
- return _aroundInvoke;
- }
- }
- }