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