Escali License control 1
Header.razor
Gå til dokumentasjonen til denne filen.
1@using Escali.LicenseControl.Client.Components.TableComponents
2@using Escali.LicenseControl.Client.ClientModels
3@using Escali.LicenseControl.Client.ViewModels
4@using Castle.Core.Internal
5@using System.Collections.Specialized
6
7@inject StateService _stateService
8@implements IDisposable
9
10<PageTitle>Escali | @_stateService.HeaderName.Value</PageTitle>
11
12<div class="header">
13 <h3 style="font-style: normal; font-weight: 600">@_stateService.HeaderName.Value</h3>
14
15 <HeaderUserButton />
16</div>
17
18@code {
19 protected override void OnInitialized()
20 {
21 _stateService.HeaderName.ValueChanged += StateHasChanged;
22 }
23
24 void IDisposable.Dispose()
25 {
26 _stateService.HeaderName.ValueChanged -= StateHasChanged;
27 }
28
29}