Example #1
0
 // Much cleaner with the Facade
 // In real world would be further broken into
 // facades to cut down on Constructor parameter size
 public MyClass(IUnitOfWorkFactory uowFactory,
                CurrencyProvider currencyProvider,
                IFooPolicy fooPolicy,
                IBarService barService,
                KitchenFacade kitchenFacade)
 {
 }
Example #2
0
 public MyClass(IUnitOfWorkFactory uowFactory,
                CurrencyProvider currencyProvider,
                IFooPolicy fooPolicy,
                IBarService barService,
                ICoffeeMaker coffeeMaker,
                IKitchenSink kitchenSink)
 {
 }
Example #3
0
 public MyClass(IUnitOfWorkFactory uowFactory,
     CurrencyProvider currencyProvider,
     IFooPolicy fooPolicy,
     IBarService barService,
     ICoffeeMaker coffeeMaker,
     IKitchenSink kitchenSink)
 {
 }