public Builder InsertPanelConfig(PanelConfig.Builder configBuilder, int index, bool mainPanel = false) { PanelConfig config = configBuilder.Build(); _panelConfigs.Insert(index, config); if (mainPanel) { _mainPanelKey = config.Key; } return(this); }
public Builder AddPanelConfig(PanelConfig.Builder configBuilder, bool mainPanel = false) { PanelConfig config = configBuilder.Build(); _panelConfigs.Add(config); if (mainPanel) { _mainPanelKey = config.Key; } return(this); }