PageRenderTime 22ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/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}