/src/UnitTests/IOC/Configuration/NamedOncePerThreadSampleService.cs

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