AGS.Editor.GUIController.CreateMenuCommand C# (CSharp) Метод

CreateMenuCommand() публичный Метод

public CreateMenuCommand ( IEditorComponent component, string commandID, string commandName ) : AGS.Types.MenuCommand
component IEditorComponent
commandID string
commandName string
Результат AGS.Types.MenuCommand
        public MenuCommand CreateMenuCommand(IEditorComponent component, string commandID, string commandName)
        {
            MenuCommand newCommand = new MenuCommand(commandID, commandName);
            newCommand.ID = RegisterMenuCommand(commandID, component);
            return newCommand;
        }
GUIController