Made use of the new DeviceName

This commit is contained in:
DarthAffe committed 2018-07-10 21:20:27 +02:00
1 parent 6881ccd62a
commit 8c1c33cc39
2 files changed
+5 -5

No files matched your search

+1 -1
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);
+4 -4
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>