1
0
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:
Darth Affe 2018-07-10 21:20:27 +02:00
parent 6881ccd62a
commit 8c1c33cc39
2 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ namespace RGBSyncPlus.Helper
{
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)
=> syncLeds.Select(GetLed).Where(led => led != null);

View File

@ -202,16 +202,16 @@
<Version>11.0.2</Version>
</PackageReference>
<PackageReference Include="RGB.NET.Brushes">
<Version>0.0.1.61</Version>
<Version>0.0.1.62</Version>
</PackageReference>
<PackageReference Include="RGB.NET.Core">
<Version>0.0.1.61</Version>
<Version>0.0.1.62</Version>
</PackageReference>
<PackageReference Include="RGB.NET.Decorators">
<Version>0.0.1.61</Version>
<Version>0.0.1.62</Version>
</PackageReference>
<PackageReference Include="RGB.NET.Groups">
<Version>0.0.1.61</Version>
<Version>0.0.1.62</Version>
</PackageReference>
<PackageReference Include="System.ValueTuple">
<Version>4.5.0</Version>