update event to use delegate

This commit is contained in:
Andrew Welker
2020-11-10 10:28:39 -07:00
parent 5076ba405e
commit c686ee394d
3 changed files with 6 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ namespace PepperDash.Essentials.DM.Endpoints.DGEs
public DeviceInfo DeviceInfo { get; private set; }
public event EventHandler<DeviceInfoEventArgs> DeviceInfoChanged;
public event DeviceInfoChangeHandler DeviceInfoChanged;
public void UpdateDeviceInfo()
{

View File

@@ -89,7 +89,7 @@ namespace PepperDash.Essentials.DM
#region Implementation of IDeviceInfoProvider
public DeviceInfo DeviceInfo { get; private set; }
public event EventHandler<DeviceInfoEventArgs> DeviceInfoChanged;
public event DeviceInfoChangeHandler DeviceInfoChanged;
public void UpdateDeviceInfo()
{