/src/UnitTests/IOC/Configuration/OncePerRequestSampleService.cs

http://github.com/philiplaureano/LinFu · C# · 15 lines · 14 code · 1 blank · 0 comment · 0 complexity · c650298b6ba84de65633538dba1fc5d4 MD5 · raw file

  1. using System;
  2. using LinFu.IoC.Configuration;
  3. using SampleLibrary;
  4. namespace LinFu.UnitTests.IOC.Configuration
  5. {
  6. [Implements(typeof(ISampleService), LifecycleType.OncePerRequest)]
  7. public class OncePerRequestSampleService : ISampleService
  8. {
  9. public void DoSomething()
  10. {
  11. throw new NotImplementedException();
  12. }
  13. }
  14. }