/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

  1. using System;
  2. using LinFu.IoC.Configuration;
  3. namespace SampleLibrary.IOC
  4. {
  5. [Implements(typeof(ISampleGenericService<>), ServiceName = "NonSpecificGenericService")]
  6. public class SampleGenericClassWithOpenGenericImplementation<T> : ISampleGenericService<T>
  7. {
  8. public bool Called => throw new NotImplementedException();
  9. }
  10. }