private StandardExplorerBar CreateStandardExplorerBar(params IExplorerBarItem[] items) { var explorerBar = new StandardExplorerBar(_serviceLocator); explorerBar.Items.AddRange(items); return(explorerBar); }
public IExplorerBar GetCheckedItemsAsExplorerBar() { var explorerBar = new StandardExplorerBar(ServiceLocator); if (this.Items.Count == 0) { return(explorerBar); } explorerBar.Items.AddRange(GetCheckedItems(this.Items, item => new ExplorerBarItemWrapper(item, explorerBar, ServiceLocator))); return(explorerBar); }