- Completo gestione Template KIT
This commit is contained in:
Samuele Locatelli
2025-04-10 08:09:11 +02:00
parent 4049a29407
commit 62fb0e38b3
20 changed files with 326 additions and 61 deletions
+49
View File
@@ -0,0 +1,49 @@
namespace MP.SPEC.Data
{
public class MsgServiceSpec
{
#region Public Events
public event Action EA_BroadCastMsg = null!;
#endregion Public Events
#region Public Properties
public string newBCMsg
{
get => _newBCMsg;
set
{
if(_newBCMsg != value)
{
_newBCMsg = value;
reportMsg();
}
}
}
#endregion Public Properties
#region Protected Methods
protected void reportMsg()
{
if (EA_BroadCastMsg != null)
{
EA_BroadCastMsg?.Invoke();
}
}
#endregion Protected Methods
#region Private Fields
#endregion Private Fields
#region Private Properties
private string _newBCMsg { get; set; } = "";
#endregion Private Properties
}
}