mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
deps: upgrade StyleCop, fix warnings
...fixes new array initializer expression
This commit is contained in:
parent
02022599e5
commit
31e541fae5
17 changed files with 307 additions and 286 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue