Beispiel #1
0
 public HomeController(
     IRenderSingleton singleton1,
     IRenderSingleton singleton2,
     IRenderScope scoped1,
     IRenderScope scoped2,
     IRenderTransient transient1,
     IRenderTransient transient2)
 {
     this.singleton1 = singleton1;
     this.singleton2 = singleton2;
     this.scoped1    = scoped1;
     this.scoped2    = scoped2;
     this.transient1 = transient1;
     this.transient2 = transient2;
 }
Beispiel #2
0
 public HomeController(
     IRenderScoped scope0,
     IRenderScoped scope1,
     IRenderSingleton singleton0,
     IRenderSingleton singleton1,
     IRenderTransient transient0,
     IRenderTransient transient1
     )
 {
     Scope0     = scope0;
     Scope1     = scope1;
     Singleton0 = singleton0;
     Singleton1 = singleton1;
     Transient0 = transient0;
     Transient1 = transient1;
 }