/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
- using System;
- using LinFu.IoC.Configuration;
- namespace SampleLibrary
- {
- [Implements(typeof(ISampleService), LifecycleType.Singleton, ServiceName = "First")]
- public class FirstSingletonService : ISampleService
- {
- public void DoSomething()
- {
- throw new NotImplementedException();
- }
- }
- }