/src/UnitTests/IOC/Configuration/OncePerThreadSampleService.cs

http://github.com/philiplaureano/LinFu · C# · 15 lines · 14 code · 1 blank · 0 comment · 0 complexity · 8a1a471f00392d24c5c0c72a0d700d4a 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.OncePerThread)]
  7. public class OncePerThreadSampleService : ISampleService
  8. {
  9. public void DoSomething()
  10. {
  11. throw new NotImplementedException();
  12. }
  13. }
  14. }