deps: upgrade StyleCop, fix warnings

...fixes new array initializer expression
This commit is contained in:
goat 2024-06-07 21:19:16 +02:00
parent 02022599e5
commit 31e541fae5
17 changed files with 307 additions and 286 deletions

View file

@ -1,5 +1,14 @@
namespace Dalamud.Game.Config;
/// <summary>
/// Represents a change in the configuration.
/// </summary>
/// <param name="Option">The option tha twas changed.</param>
public abstract record ConfigChangeEvent(Enum Option);
/// <summary>
/// Represents a generic change in the configuration.
/// </summary>
/// <param name="ConfigOption">The option that was changed.</param>
/// <typeparam name="T">The type of the option.</typeparam>
public record ConfigChangeEvent<T>(T ConfigOption) : ConfigChangeEvent(ConfigOption) where T : Enum;