Example #1
0
 public Document(IComponentC c)
 {
     this.C = c;
 }
Example #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));
 }