PageRenderTime 35ms CodeModel.GetById 32ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/src/UnitTests/IOC/Configuration/NamedOncePerRequestSampleService.cs

http://github.com/philiplaureano/LinFu
C# | 15 lines | 14 code | 1 blank | 0 comment | 0 complexity | 4213497e2adc706de1131e8420450f69 MD5 | raw file
 1using System;
 2using LinFu.IoC.Configuration;
 3using SampleLibrary;
 4
 5namespace LinFu.UnitTests.IOC.Configuration
 6{
 7    [Implements(typeof(ISampleService), LifecycleType.OncePerRequest, ServiceName = "MyService")]
 8    public class NamedOncePerRequestSampleService : ISampleService
 9    {
10        public void DoSomething()
11        {
12            throw new NotImplementedException();
13        }
14    }
15}