2022-10-02 18:19:28 -05:00

20 lines
374 B
C#

namespace NftFaucet.Infrastructure.Services;
public class RefreshMediator
{
public delegate void StateChangedDelegate();
public event StateChangedDelegate StateChanged;
public void NotifyStateHasChangedSafe()
{
try
{
StateChanged?.Invoke();
}
catch (Exception)
{
// ignored
}
}
}