using RGB.NET.Core; namespace RGB.NET.Devices.Razer; /// /// /// Represents a generic information for a Razer-. /// public class RazerRGBDeviceInfo : IRGBDeviceInfo { #region Properties & Fields /// public RGBDeviceType DeviceType { get; } /// public string DeviceName { get; } /// public string Manufacturer => "Razer"; /// public string Model { get; } /// public object? LayoutMetadata { get; set; } /// /// Gets the Razer SDK endpoint type the is addressed through. /// public RazerEndpointType EndpointType { get; } #endregion #region Constructors /// /// Internal constructor of managed . /// /// The type of the . /// The Razer SDK endpoint type the is addressed through. /// The model of the . internal RazerRGBDeviceInfo(RGBDeviceType deviceType, RazerEndpointType endpointType, string model) { this.DeviceType = deviceType; this.EndpointType = endpointType; this.Model = model; DeviceName = DeviceHelper.CreateDeviceName(Manufacturer, Model); } #endregion }