mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-29 12:24:59 +00:00
update event to use delegate
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using PepperDash.Core;
|
||||
|
||||
namespace PepperDash.Essentials.Core.DeviceInfo
|
||||
{
|
||||
@@ -6,8 +7,10 @@ namespace PepperDash.Essentials.Core.DeviceInfo
|
||||
{
|
||||
DeviceInfo DeviceInfo { get; }
|
||||
|
||||
event EventHandler<DeviceInfoEventArgs> DeviceInfoChanged;
|
||||
event DeviceInfoChangeHandler DeviceInfoChanged;
|
||||
|
||||
void UpdateDeviceInfo();
|
||||
}
|
||||
|
||||
public delegate void DeviceInfoChangeHandler(IKeyed device, DeviceInfoEventArgs args);
|
||||
}
|
||||
Reference in New Issue
Block a user