PageRenderTime 101ms CodeModel.GetById 60ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/src/SampleLibrary/IOC/SampleClassWithFactoryDependency.cs

http://github.com/philiplaureano/LinFu
C# | 14 lines | 12 code | 2 blank | 0 comment | 0 complexity | 5b06591ec9d3aab470723ddd3a230fd9 MD5 | raw file
 1using LinFu.IoC.Interfaces;
 2
 3namespace SampleLibrary.IOC
 4{
 5    public class SampleClassWithFactoryDependency
 6    {
 7        public SampleClassWithFactoryDependency(IFactory<ISampleService> factory)
 8        {
 9            Factory = factory;
10        }
11
12        public IFactory<ISampleService> Factory { get; }
13    }
14}