/src/SampleLibrary/IOC/SampleClassWithInjectionProperties.cs

http://github.com/philiplaureano/LinFu · C# · 16 lines · 13 code · 3 blank · 0 comment · 0 complexity · 1ddb9a541d15d2c949127c622c1816e2 MD5 · raw file

  1. using System;
  2. using LinFu.IoC.Configuration;
  3. namespace SampleLibrary.IOC
  4. {
  5. public class SampleClassWithInjectionProperties : ISampleService
  6. {
  7. [Inject] public ISampleService SomeProperty { get; set; }
  8. public void DoSomething()
  9. {
  10. throw new NotImplementedException();
  11. }
  12. }
  13. }