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 class OpenInDefaultFileExplorerCommand : IIdentifiableUserCommand
{
public const string CommandName = "open_in_default_explorer";
public static OpenInDefaultFileExplorerCommand Instance { get; } = new OpenInDefaultFileExplorerCommand();
public static OpenInDefaultFileExplorerCommand Instance { get; } = new();
private OpenInDefaultFileExplorerCommand()
{