/src/UnitTests/IOC/Configuration/NamedOncePerRequestSampleService.cs

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