PageRenderTime 102ms CodeModel.GetById 61ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/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
 1using System;
 2using LinFu.IoC.Configuration;
 3using SampleLibrary;
 4
 5namespace LinFu.UnitTests.IOC.Configuration
 6{
 7    [Implements(typeof(ISampleService), LifecycleType.Singleton, ServiceName = "MyService")]
 8    public class NamedSingletonSampleService : ISampleService
 9    {
10        public void DoSomething()
11        {
12            throw new NotImplementedException();
13        }
14    }
15}