PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/src/SampleLibrary/IOC/SampleClassWithAdditionalArgument.cs

http://github.com/philiplaureano/LinFu
C# | 18 lines | 14 code | 2 blank | 2 comment | 0 complexity | e9661af914d0c0c0f55627b256fabccd MD5 | raw file
 1namespace SampleLibrary.IOC
 2{
 3    public class SampleClassWithAdditionalArgument
 4    {
 5        // This is just a dummy constructor used to confuse
 6        // the resolver
 7        public SampleClassWithAdditionalArgument(ISampleService arg1)
 8        {
 9        }
10
11        public SampleClassWithAdditionalArgument(ISampleService arg1, int arg2)
12        {
13            Argument = arg2;
14        }
15
16        public int Argument { get; }
17    }
18}