PageRenderTime 33ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/src/SampleLibrary/IOC/SampleClassWithInjectionField.cs

http://github.com/philiplaureano/LinFu
C# | 16 lines | 13 code | 3 blank | 0 comment | 0 complexity | 453f63f8b9d1f7e8720873cdc6eb58e5 MD5 | raw file
  1. using System;
  2. using LinFu.IoC.Configuration;
  3. namespace SampleLibrary.IOC
  4. {
  5. public class SampleClassWithInjectionField : ISampleService
  6. {
  7. [Inject] public ISampleService SomeField;
  8. public void DoSomething()
  9. {
  10. throw new NotImplementedException();
  11. }
  12. }
  13. }