| File: System\ComponentModel\Design\DesignerCommandSet.cs | Web Access |
| Project: src\winforms\src\System.Windows.Forms.Design\src\System.Windows.Forms.Design.csproj (System.Windows.Forms.Design) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections; namespace System.ComponentModel.Design; public class DesignerCommandSet { private protected const string VerbsCommand = "Verbs"; private protected const string ActionListsCommand = "ActionLists"; public virtual ICollection? GetCommands(string name) => null; public DesignerVerbCollection? Verbs => (DesignerVerbCollection?)GetCommands(VerbsCommand); public DesignerActionListCollection? ActionLists => (DesignerActionListCollection?)GetCommands(ActionListsCommand); }