/src/SampleLibrary/IOC/SampleGenericClassWithSpecificGenericTypeImplementation.cs
http://github.com/philiplaureano/LinFu · C# · 12 lines · 11 code · 1 blank · 0 comment · 0 complexity · 42b63293ae2c8fa71050db61a7689565 MD5 · raw file
- using System;
- using LinFu.IoC.Configuration;
- namespace SampleLibrary.IOC
- {
- [Implements(typeof(ISampleGenericService<int>), ServiceName = "SpecificGenericService")]
- [Implements(typeof(ISampleGenericService<double>), ServiceName = "SpecificGenericService")]
- public class SampleGenericClassWithSpecificGenericTypeImplementation<T> : ISampleGenericService<T>
- {
- public bool Called => throw new NotImplementedException();
- }
- }