mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 13:15:03 +00:00
added IDeviceInfoProvider interface
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
namespace PepperDash.Essentials.Core.DeviceInfo
|
||||||
|
{
|
||||||
|
public class DeviceInfo
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace PepperDash.Essentials.Core.DeviceInfo
|
||||||
|
{
|
||||||
|
public class DeviceInfoEventArgs:EventArgs
|
||||||
|
{
|
||||||
|
public DeviceInfo DeviceInfo { get; set; }
|
||||||
|
|
||||||
|
public DeviceInfoEventArgs()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public DeviceInfoEventArgs(DeviceInfo devInfo)
|
||||||
|
{
|
||||||
|
DeviceInfo = devInfo;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace PepperDash.Essentials.Core.DeviceInfo
|
||||||
|
{
|
||||||
|
public interface IDeviceInfoProvider
|
||||||
|
{
|
||||||
|
DeviceInfo DeviceInfo { get; }
|
||||||
|
|
||||||
|
event EventHandler<DeviceInfoEventArgs> DeviceInfoChanged;
|
||||||
|
|
||||||
|
void UpdateDeviceInfo();
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user