using RGB.NET.Core; namespace RGB.NET.Devices.Debug; /// /// /// Represents device information for a />. /// public sealed class DebugRGBDeviceInfo : IRGBDeviceInfo { #region Properties & Fields /// public RGBDeviceType DeviceType { get; } /// public string DeviceName { get; } /// public string Manufacturer { get; } /// public string Model { get; } /// public object? LayoutMetadata { get; set; } #endregion #region Constructors /// /// Internal constructor of . /// /// The of the device. /// The manufacturer of the device. /// The model of the device. /// Some custom data for this device provided by the layout. internal DebugRGBDeviceInfo(RGBDeviceType deviceType, string manufacturer, string model, object? customData) { this.DeviceType = deviceType; this.Manufacturer = manufacturer; this.Model = model; this.LayoutMetadata = customData; DeviceName = DeviceHelper.CreateDeviceName(Manufacturer, Model); } #endregion }