/src/UnitTests/IOC/Configuration/NamedSingletonSampleService.cs

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