/// Gets the context required to execute the command.
/// </summary>
public ContextType Contexts { get; }
public override string ErrorMessage { get; set; }
/// <summary> Requires the command to be invoked in the specified context. </summary>
/// <param name="contexts">The type of context the command can be invoked in. Multiple contexts can be specified by ORing the contexts together.</param>