mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 21:16:24 +00:00
Fixed warnings
This commit is contained in:
1 parent
57dc9afb32
commit
a0a1521658
118 files changed
+802
-1181
No files matched your search
@@ -5,6 +5,6 @@ namespace RGB.NET.Devices.SteelSeries.API.Model
|
||||
internal class CoreProps
|
||||
{
|
||||
[JsonPropertyName("address")]
|
||||
public string Address { get; set; }
|
||||
public string? Address { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -8,13 +8,13 @@ namespace RGB.NET.Devices.SteelSeries.API.Model
|
||||
#region Properties & Fields
|
||||
|
||||
[JsonPropertyName("game")]
|
||||
public string Game { get; set; }
|
||||
public string? Game { get; set; }
|
||||
|
||||
[JsonPropertyName("event")]
|
||||
public string Name { get; set; }
|
||||
public string? Name { get; set; }
|
||||
|
||||
[JsonPropertyName("data")]
|
||||
public Dictionary<string, object> Data { get; } = new Dictionary<string, object>();
|
||||
public Dictionary<string, object> Data { get; } = new();
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -7,10 +7,10 @@ namespace RGB.NET.Devices.SteelSeries.API.Model
|
||||
#region Properties & Fields
|
||||
|
||||
[JsonPropertyName("game")]
|
||||
public string Name { get; set; }
|
||||
public string? Name { get; set; }
|
||||
|
||||
[JsonPropertyName("game_display_name")]
|
||||
public string DisplayName { get; set; }
|
||||
public string? DisplayName { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -7,10 +7,10 @@ namespace RGB.NET.Devices.SteelSeries.API.Model
|
||||
#region Properties & Fields
|
||||
|
||||
[JsonPropertyName("game")]
|
||||
public string Game { get; set; }
|
||||
public string? Game { get; set; }
|
||||
|
||||
[JsonPropertyName("golisp")]
|
||||
public string Handler { get; set; }
|
||||
public string? Handler { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in new issue
Block a user