19 instantiations of ValidateDashboardOptions
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
454var result = new ValidateDashboardOptions().Validate(name: string.Empty, dashboardOptions);
Aspire.Dashboard.Tests (18)
DashboardOptionsTests.cs (18)
33var result = new ValidateDashboardOptions().Validate(null, GetValidOptions()); 47var result = new ValidateDashboardOptions().Validate(null, options); 59var result = new ValidateDashboardOptions().Validate(null, options); 71var result = new ValidateDashboardOptions().Validate(null, options); 85var result = new ValidateDashboardOptions().Validate(null, options); 101var result = new ValidateDashboardOptions().Validate(null, options); 115var result = new ValidateDashboardOptions().Validate(null, options); 130var result = new ValidateDashboardOptions().Validate(null, options); 145var result = new ValidateDashboardOptions().Validate(null, options); 159var result = new ValidateDashboardOptions().Validate(null, options); 173var result = new ValidateDashboardOptions().Validate(null, options); 186var result = new ValidateDashboardOptions().Validate(null, options); 199var result = new ValidateDashboardOptions().Validate(null, options); 216var result = new ValidateDashboardOptions().Validate(null, options); 230var result = new ValidateDashboardOptions().Validate(null, options); 242var result = new ValidateDashboardOptions().Validate(null, options); 259var result = new ValidateDashboardOptions().Validate(null, options); 272var result = new ValidateDashboardOptions().Validate(null, options);
3 references to ValidateDashboardOptions
Aspire.Dashboard (3)
Configuration\ValidateDashboardOptions.cs (2)
14public ValidateDashboardOptions() : this(NullLogger<ValidateDashboardOptions>.Instance) 18public ValidateDashboardOptions(ILogger<ValidateDashboardOptions> logger)
DashboardWebApplication.cs (1)
158builder.Services.AddSingleton<IValidateOptions<DashboardOptions>, ValidateDashboardOptions>();