/src/SampleLibrary/IOC/SampleClassWithServiceEnumerableAsConstructorArgument.cs

http://github.com/philiplaureano/LinFu · C# · 14 lines · 12 code · 2 blank · 0 comment · 0 complexity · 1e0180c4611a6d19c656825dc53e8072 MD5 · raw file

  1. using System.Collections.Generic;
  2. namespace SampleLibrary.IOC
  3. {
  4. public class SampleClassWithServiceEnumerableAsConstructorArgument
  5. {
  6. public SampleClassWithServiceEnumerableAsConstructorArgument(IEnumerable<ISampleService> services)
  7. {
  8. Services = services;
  9. }
  10. public IEnumerable<ISampleService> Services { get; }
  11. }
  12. }