/src/SampleLibrary/IOC/FirstSingletonService.cs

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

  1. using System;
  2. using LinFu.IoC.Configuration;
  3. namespace SampleLibrary
  4. {
  5. [Implements(typeof(ISampleService), LifecycleType.Singleton, ServiceName = "First")]
  6. public class FirstSingletonService : ISampleService
  7. {
  8. public void DoSomething()
  9. {
  10. throw new NotImplementedException();
  11. }
  12. }
  13. }