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