Created View Project
This commit is contained in:
19
View/Shared/MainLayout.razor.cs
Normal file
19
View/Shared/MainLayout.razor.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace OI.Metrology.View.Shared;
|
||||
|
||||
public partial class MainLayout
|
||||
{
|
||||
|
||||
private string? _RequestId;
|
||||
|
||||
[Inject] protected Models.AppSettings? AppSettings { get; set; }
|
||||
|
||||
protected override void OnParametersSet()
|
||||
{
|
||||
base.OnParametersSet();
|
||||
_RequestId = Activity.Current?.Id ?? string.Empty;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user