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