mirror of
https://github.com/DarthAffe/RGBSyncPlus
synced 2025-12-12 17:08:31 +00:00
Made use of the new DeviceName
This commit is contained in:
parent
6881ccd62a
commit
8c1c33cc39
@ -7,7 +7,7 @@ namespace RGBSyncPlus.Helper
|
|||||||
{
|
{
|
||||||
public static class RGBNetExtension
|
public static class RGBNetExtension
|
||||||
{
|
{
|
||||||
public static string GetDeviceName(this IRGBDevice device) => $"{device.DeviceInfo.Manufacturer} {device.DeviceInfo.Model} ({device.DeviceInfo.DeviceType})";
|
public static string GetDeviceName(this IRGBDevice device) => $"{device.DeviceInfo.DeviceName} ({device.DeviceInfo.DeviceType})";
|
||||||
|
|
||||||
public static IEnumerable<Led> GetLeds(this IEnumerable<SyncLed> syncLeds)
|
public static IEnumerable<Led> GetLeds(this IEnumerable<SyncLed> syncLeds)
|
||||||
=> syncLeds.Select(GetLed).Where(led => led != null);
|
=> syncLeds.Select(GetLed).Where(led => led != null);
|
||||||
|
|||||||
@ -202,16 +202,16 @@
|
|||||||
<Version>11.0.2</Version>
|
<Version>11.0.2</Version>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="RGB.NET.Brushes">
|
<PackageReference Include="RGB.NET.Brushes">
|
||||||
<Version>0.0.1.61</Version>
|
<Version>0.0.1.62</Version>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="RGB.NET.Core">
|
<PackageReference Include="RGB.NET.Core">
|
||||||
<Version>0.0.1.61</Version>
|
<Version>0.0.1.62</Version>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="RGB.NET.Decorators">
|
<PackageReference Include="RGB.NET.Decorators">
|
||||||
<Version>0.0.1.61</Version>
|
<Version>0.0.1.62</Version>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="RGB.NET.Groups">
|
<PackageReference Include="RGB.NET.Groups">
|
||||||
<Version>0.0.1.61</Version>
|
<Version>0.0.1.62</Version>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="System.ValueTuple">
|
<PackageReference Include="System.ValueTuple">
|
||||||
<Version>4.5.0</Version>
|
<Version>4.5.0</Version>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user