public Nonexistant( [Parameter("innerNonexistant", true)] InnerNonexistant innerNonexistant, [Inject("injected")] string injected) { Injected = injected; InnerNonexistant = innerNonexistant; }
public Nonexistant( [Parameter("innerNonexistant", true)] InnerNonexistant innerNonexistant, // The next two test that they are set even if the parent map doesn't exist // in the database. [Inject("injected")] string injected, [Network] Network network, // Test that repeated network parameters work, or at least don't blow // up. Not sure why you would want to do this. [Network] Network network2 ) { Injected = injected; InnerNonexistant = innerNonexistant; Network = network; Network2 = network2; }