PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/SampleLibrary/IOC/FirstOncePerRequestService.cs

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