/// <summary> /// Adds a new item to workbookPaneHostMap dictionary /// </summary> /// <param name="WorkbookName"></param> /// <param name="layerManagerPaneHost"></param> void AddToWorkbookPaneHostMap(string WorkbookName, LayerManagerPaneHost layerManagerPaneHost) { //TODO: Throw exception //if (workbookPaneHostMap.ContainsKey(WorkbookName)) workbookPaneHostMap.Add(WorkbookName, layerManagerPaneHost); }