/src/UnitTests/IOC/Configuration/OncePerThreadSampleService.cs
http://github.com/philiplaureano/LinFu · C# · 15 lines · 14 code · 1 blank · 0 comment · 0 complexity · 8a1a471f00392d24c5c0c72a0d700d4a MD5 · raw file
- using System;
- using LinFu.IoC.Configuration;
- using SampleLibrary;
- namespace LinFu.UnitTests.IOC.Configuration
- {
- [Implements(typeof(ISampleService), LifecycleType.OncePerThread)]
- public class OncePerThreadSampleService : ISampleService
- {
- public void DoSomething()
- {
- throw new NotImplementedException();
- }
- }
- }