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