/src/SampleLibrary/IOC/SampleClassWithNamedParameters.cs

http://github.com/philiplaureano/LinFu · C# · 12 lines · 11 code · 1 blank · 0 comment · 0 complexity · 9bbfe402a96349ede93e668a4087b7fc MD5 · raw file

  1. namespace SampleLibrary.IOC
  2. {
  3. public class SampleClassWithNamedParameters
  4. {
  5. public SampleClassWithNamedParameters(ISampleService otherService)
  6. {
  7. ServiceInstance = otherService;
  8. }
  9. public ISampleService ServiceInstance { get; }
  10. }
  11. }