public Bar(IFoo1 foo1, IFoo2 foo2, IFoo3 foo3, IFoo4 foo4) { Foo1 = foo1; Foo2 = foo2; Foo3 = foo3; Foo4 = foo4; }
public Bar(IFoo1 foo1, IFoo2 foo2, IFoo3 foo3, IFoo4 foo4) { this.Foo1 = foo1; this.Foo2 = foo2; this.Foo3 = foo3; this.Foo4 = foo4; }
public Bar(IFoo1 foo1) : this(foo1, null, null) { }
public Bar(IFoo1 foo1, IFoo2 foo2) : this(foo1, foo2, null) { Foo1 = foo1; }
public Bar(IFoo1 foo1, IFoo2 foo2, IFoo3 foo3) : this(foo1, foo2, foo3, null) { }
public Bar(IFoo1 foo1, IFoo2 foo2) : this(foo1, foo2, null) { this.Foo1 = foo1; }
internal Root(IFoo1 ifoo1) { this.ifoo1 = ifoo1; }
internal Root(IFoo1 foo1, Func<IFoo2> foo2Factory) { this.foo1 = foo1; this.foo2Factory = foo2Factory; }
static void DoIt(IFoo1 foo) { foo.Foo(); }