/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
- namespace SampleLibrary.IOC
- {
- public class SampleClassWithAdditionalArgument
- {
- // This is just a dummy constructor used to confuse
- // the resolver
- public SampleClassWithAdditionalArgument(ISampleService arg1)
- {
- }
- public SampleClassWithAdditionalArgument(ISampleService arg1, int arg2)
- {
- Argument = arg2;
- }
- public int Argument { get; }
- }
- }