Use target typed new in commands

This commit is contained in:
2023-07-04 19:18:15 +02:00
parent c29df77d39
commit 718fd53026
23 changed files with 24 additions and 24 deletions

View File

@@ -3,7 +3,7 @@ namespace FileTime.App.Core.UserCommand;
public sealed class RefreshCommand : IIdentifiableUserCommand
{
public const string CommandName = "refresh";
public static RefreshCommand Instance { get; } = new RefreshCommand();
public static RefreshCommand Instance { get; } = new();
private RefreshCommand()
{