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

RegisterContextMenuCommands() приватный Метод

private RegisterContextMenuCommands ( IList commands, IEditorComponent plugin ) : void
commands IList
plugin IEditorComponent
Результат void
        internal void RegisterContextMenuCommands(IList<MenuCommand> commands, IEditorComponent plugin)
        {
            foreach (MenuCommand command in commands)
            {
                if (command.ID != null)
                {
                    command.ID = RegisterMenuCommand(command.ID, plugin);
                }
            }
        }
GUIController