/src/SampleLibrary/IOC/SecondSingletonService.cs
http://github.com/philiplaureano/LinFu · C# · 14 lines · 13 code · 1 blank · 0 comment · 0 complexity · b6591daab95759825ffce051b6c21853 MD5 · raw file
- using System;
- using LinFu.IoC.Configuration;
- namespace SampleLibrary
- {
- [Implements(typeof(ISampleService), LifecycleType.Singleton, ServiceName = "Second")]
- public class SecondSingletonService : ISampleService
- {
- public void DoSomething()
- {
- throw new NotImplementedException();
- }
- }
- }