40 lines
883 B
C#
40 lines
883 B
C#
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace MP.MONO.UI.Pages
|
|
{
|
|
public partial class Contacts : 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");
|
|
Messaggio = Configuration.GetValue<string>("Application:ContactText");
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
|
|
#region Private Properties
|
|
|
|
[Inject]
|
|
private IConfiguration Configuration { get; set; } = null!;
|
|
|
|
#endregion Private Properties
|
|
}
|
|
} |