ICommand
Represents a command that can be executed from the document.
using AngleSharp.Dom;
namespace AngleSharp.Commands
{
public interface ICommand
{
string CommandId { get; }
bool Execute(IDocument document, bool showUserInterface, string value);
bool IsEnabled(IDocument document);
bool IsIndeterminate(IDocument document);
bool IsExecuted(IDocument document);
bool IsSupported(IDocument document);
string GetValue(IDocument document);
}
}