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