using AuraServiceLib; using RGB.NET.Core; namespace RGB.NET.Devices.Asus { /// /// /// Represents a generic information for a Corsair-. /// public class AsusRGBDeviceInfo : 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; } public IAuraSyncDevice Device { get; } #endregion #region Constructors /// /// Internal constructor of managed . /// /// The type of the . /// The backing this RGB.NET device. /// The manufacturer-name of the . /// The model-name of the . internal AsusRGBDeviceInfo(RGBDeviceType deviceType, IAuraSyncDevice device, string? model = null, string manufacturer = "Asus") { this.DeviceType = deviceType; this.Device = device; this.Model = model ?? device.Name; this.Manufacturer = manufacturer; DeviceName = DeviceHelper.CreateDeviceName(Manufacturer, Model); } #endregion } }