25 lines
530 B
C#
25 lines
530 B
C#
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace MP.MONO.UI.Pages
|
|
{
|
|
public partial class Index
|
|
{
|
|
#region Private Properties
|
|
|
|
private string AppName
|
|
{
|
|
get => Configuration.GetValue<string>("Application:Name");
|
|
}
|
|
|
|
private string AppShortName
|
|
{
|
|
get => Configuration.GetValue<string>("Application:ShortName");
|
|
}
|
|
|
|
[Inject]
|
|
private IConfiguration Configuration { get; set; } = null!;
|
|
|
|
#endregion Private Properties
|
|
}
|
|
}
|