Пример #1
0
 public MixedLifetimesPerRequestDependencies(
     IAlwaysNewFoo alwaysNewFoo,
     IPerRequestFoo perRequestFoo,
     IPerContainerFoo perContainerFoo)
 {
     AlwaysNewFoo    = alwaysNewFoo;
     PerRequestFoo   = perRequestFoo;
     PerContainerFoo = perContainerFoo;
 }
 public AlwaysNewDependencies(IAlwaysNewFoo foo, IAlwaysNewBar bar)
 {
     Foo = foo;
     Bar = bar;
 }
 public AlwaysNewBar(IAlwaysNewFoo alwaysNewFoo, IPerRequestBar perRequestBar)
 {
     AlwaysNewFoo  = alwaysNewFoo;
     PerRequestBar = perRequestBar;
 }