Use target typed new in commands
This commit is contained in:
@@ -3,7 +3,7 @@ namespace FileTime.App.Core.UserCommand;
|
||||
public sealed class CopyCommand : IIdentifiableUserCommand
|
||||
{
|
||||
public const string CommandName = "copy";
|
||||
public static CopyCommand Instance { get; } = new CopyCommand();
|
||||
public static CopyCommand Instance { get; } = new();
|
||||
|
||||
private CopyCommand()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user