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