ServiceCollectionExtensions.AddDashboard Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| AddDashboard(IClientBuilder, Action<DashboardOptions>) |
Adds Orleans Dashboard services to an Orleans client builder. This allows you to host the Orleans Dashboard application on an Orleans client, so long as the silos also have the dashboard added. |
| AddDashboard(ISiloBuilder, Action<DashboardOptions>) |
Adds Orleans Dashboard services to the silo builder. |
AddDashboard(IClientBuilder, Action<DashboardOptions>)
Adds Orleans Dashboard services to an Orleans client builder. This allows you to host the Orleans Dashboard application on an Orleans client, so long as the silos also have the dashboard added.
public static Orleans.Hosting.IClientBuilder AddDashboard(this Orleans.Hosting.IClientBuilder clientBuilder, Action<Orleans.Dashboard.DashboardOptions>? configureOptions = default);
static member AddDashboard : Orleans.Hosting.IClientBuilder * Action<Orleans.Dashboard.DashboardOptions> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function AddDashboard (clientBuilder As IClientBuilder, Optional configureOptions As Action(Of DashboardOptions) = Nothing) As IClientBuilder
Parameters
- clientBuilder
- IClientBuilder
The client builder.
- configureOptions
- Action<DashboardOptions>
Optional configuration action for DashboardOptions.
Returns
The service collection for method chaining.
Applies to
AddDashboard(ISiloBuilder, Action<DashboardOptions>)
Adds Orleans Dashboard services to the silo builder.
public static Orleans.Hosting.ISiloBuilder AddDashboard(this Orleans.Hosting.ISiloBuilder siloBuilder, Action<Orleans.Dashboard.DashboardOptions>? configureOptions = default);
static member AddDashboard : Orleans.Hosting.ISiloBuilder * Action<Orleans.Dashboard.DashboardOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddDashboard (siloBuilder As ISiloBuilder, Optional configureOptions As Action(Of DashboardOptions) = Nothing) As ISiloBuilder
Parameters
- siloBuilder
- ISiloBuilder
The silo builder.
- configureOptions
- Action<DashboardOptions>
Optional configuration action for DashboardOptions.
Returns
The silo builder for method chaining.