public RemotesMenu(Repository repository) { Verify.Argument.IsNotNull(repository, nameof(repository)); Repository = repository; Items.Add(GuiItemFactory.GetShowRemotesViewItem <ToolStripMenuItem>()); Items.Add(GuiItemFactory.GetRefreshRemotesItem <ToolStripMenuItem>(repository)); Items.Add(new ToolStripSeparator()); Items.Add(GuiItemFactory.GetFetchItem <ToolStripMenuItem>(repository)); Items.Add(GuiItemFactory.GetPullItem <ToolStripMenuItem>(repository)); Items.Add(new ToolStripSeparator()); Items.Add(GuiItemFactory.GetAddRemoteItem <ToolStripMenuItem>(repository)); }