public DefaultPage(Service1 service1, Service2 service2, IExampleRequestLifelongService exampleService, Service4 service4) { this.InjectedService1 = service1; this.InjectedService2 = service2; this.exampleService = exampleService ?? throw new ArgumentNullException(nameof(exampleService)); this.service4 = service4 ?? throw new ArgumentNullException(nameof(service4)); }
public DefaultPage(IExampleRequestLifelongService exampleService, Service4 service4) { this.exampleService = exampleService ?? throw new ArgumentNullException(nameof(exampleService)); this.service4 = service4 ?? throw new ArgumentNullException(nameof(service4)); }