27 lines
473 B
Plaintext
27 lines
473 B
Plaintext
@page "/Parameters"
|
|
@using MP.MONO.UI.Data
|
|
|
|
@inject CurrentDataService ParDataSrv
|
|
|
|
<h3>Parameters</h3>
|
|
|
|
@if (CurrParams != null)
|
|
{
|
|
<ul>
|
|
@foreach(var item in CurrParams)
|
|
{
|
|
<li>@item.Key: <b>@item.Value</b></li>
|
|
}
|
|
</ul>
|
|
}
|
|
|
|
@code {
|
|
|
|
private Dictionary<string, string> CurrParams { get; set; }
|
|
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
CurrParams = await ParDataSrv.GetCurrentParameters();
|
|
}
|
|
}
|