public AnyController( AnyService service, IFakeFrameworkComponent component, IList <IFakeFrameworkComponentEnumerable> components, IFakeFrameworkComponent <string> openGeneric, IFakeFrameworkComponent <FakeFrameworkOptions> closedGeneric, ILogger logger) { this.service = service ?? throw new ArgumentNullException(nameof(service)); this.component = component ?? throw new ArgumentNullException(nameof(component)); this.components = components ?? throw new ArgumentNullException(nameof(components)); this.closedGeneric = closedGeneric ?? throw new ArgumentNullException(nameof(closedGeneric)); this.openGeneric = openGeneric ?? throw new ArgumentNullException(nameof(openGeneric)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public AnyViewComponent(AnyService service, IFakeFrameworkComponent component) { this.service = service ?? throw new ArgumentNullException(nameof(service)); this.component = component ?? throw new ArgumentNullException(nameof(component)); }