mirror of
https://github.com/microsoft/PowerToys
synced 2025-08-29 13:37:43 +00:00
CmdPal: mark CommandProvider.Dispose as virtual (#41184)
If your provider wants to implement this, they should be able to
This commit is contained in:
parent
2f6876b85f
commit
8737de29af
@ -31,7 +31,7 @@ public abstract partial class CommandProvider : ICommandProvider
|
|||||||
public virtual void InitializeWithHost(IExtensionHost host) => ExtensionHost.Initialize(host);
|
public virtual void InitializeWithHost(IExtensionHost host) => ExtensionHost.Initialize(host);
|
||||||
|
|
||||||
#pragma warning disable CA1816 // Dispose methods should call SuppressFinalize
|
#pragma warning disable CA1816 // Dispose methods should call SuppressFinalize
|
||||||
public void Dispose()
|
public virtual void Dispose()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
#pragma warning restore CA1816 // Dispose methods should call SuppressFinalize
|
#pragma warning restore CA1816 // Dispose methods should call SuppressFinalize
|
||||||
|
Loading…
x
Reference in New Issue
Block a user