public InstallModel( IGetChartHandler getChartHandler, IGetClustersHandler getClustersHandler, IGetChartValuesHandler getChartValuesHandler, IInstallChartHandler installChartHandler) { this.getChartHandler = getChartHandler ?? throw new ArgumentNullException(nameof(getChartHandler)); this.getClustersHandler = getClustersHandler ?? throw new ArgumentNullException(nameof(getClustersHandler)); this.getChartValuesHandler = getChartValuesHandler ?? throw new ArgumentNullException(nameof(getChartValuesHandler)); this.installChartHandler = installChartHandler ?? throw new ArgumentNullException(nameof(installChartHandler)); }
public IndexModel( IGetClustersHandler getClustersHandler) { this.getClustersHandler = getClustersHandler ?? throw new ArgumentNullException(nameof(getClustersHandler)); }