Beispiel #1
0
 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));
 }
Beispiel #2
0
 public IndexModel(
     IGetClustersHandler getClustersHandler)
 {
     this.getClustersHandler = getClustersHandler ?? throw new ArgumentNullException(nameof(getClustersHandler));
 }