PageRenderTime 14ms CodeModel.GetById 9ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1using System;
 2using LinFu.IoC.Configuration;
 3
 4namespace SampleLibrary.IOC
 5{
 6    [Implements(typeof(ISampleGenericService<int>), ServiceName = "SpecificGenericService")]
 7    [Implements(typeof(ISampleGenericService<double>), ServiceName = "SpecificGenericService")]
 8    public class SampleGenericClassWithSpecificGenericTypeImplementation<T> : ISampleGenericService<T>
 9    {
10        public bool Called => throw new NotImplementedException();
11    }
12}