Assets.UnderConstruction.Editor.GraphManagementUISystem.QueryGraphsAction C# (CSharp) Метод

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

public QueryGraphsAction ( List items ) : void
items List
Результат void
        public void QueryGraphsAction(List<ActionItem> items)
        {

            var config = WorkspaceService.CurrentConfiguration;
            if (config == null) return;
            foreach (var item in config.GraphTypes)
            {
                items.Add(new ActionItem()
                {
                     Title = item.Title ?? item.GraphType.Name,
                    Command = new CreateGraphCommand()
                    {
                        GraphType = item.GraphType,
                        Name = "New" + item.GraphType.Name
                    },
                    Description = item.Description,
                    Verb = "Create"
                });
            }
            
        }