Esempio n. 1
0
 public Document(IComponentC c)
 {
     this.C = c;
 }
Esempio n. 2
0
 public TransparentFacade(IComponentA componentA, IComponentB componentB, IComponentC componentC)
 {
     _componentA = componentA ?? throw new ArgumentNullException(nameof(componentA));
     _componentB = componentB ?? throw new ArgumentNullException(nameof(componentB));
     _componentC = componentC ?? throw new ArgumentNullException(nameof(componentC));
 }