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