40 lines
908 B
C#
40 lines
908 B
C#
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace GPW.CORE6.Smart.Pages
|
|
{
|
|
public partial class About : IDisposable
|
|
{
|
|
#region Public Methods
|
|
|
|
public void Dispose()
|
|
{
|
|
GC.Collect();
|
|
}
|
|
|
|
#endregion Public Methods
|
|
|
|
#region Protected Fields
|
|
|
|
protected string Messaggio = "";
|
|
protected string Titolo = "";
|
|
|
|
#endregion Protected Fields
|
|
|
|
#region Protected Methods
|
|
|
|
protected override void OnInitialized()
|
|
{
|
|
Titolo = Configuration.GetValue<string>("Application:Name") ?? "GPW";
|
|
Messaggio = Configuration.GetValue<string>("Application:ContactText") ?? "EgalWare";
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
|
|
#region Private Properties
|
|
|
|
[Inject]
|
|
private IConfiguration Configuration { get; set; } = null!;
|
|
|
|
#endregion Private Properties
|
|
}
|
|
} |