@inject NotificationManager Notification @implements IDisposable
@foreach (var message in Notification.Messages) {

@message

}
@code { protected override void OnInitialized() { Notification.OnChange += StateHasChanged; } public void Dispose() { Notification.OnChange -= StateHasChanged; } }