/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
- using System;
- using LinFu.IoC.Configuration;
- namespace SampleLibrary.IOC
- {
- public class SampleClassWithInjectionField : ISampleService
- {
- [Inject] public ISampleService SomeField;
- public void DoSomething()
- {
- throw new NotImplementedException();
- }
- }
- }