public SelectInBrowserMenuItem(IShell shell, TypeBrowserViewModel browser, TypeServiceViewModel service) { this.shell = shell; this.browser = browser; this.service = service; this.DisplayName = Resources.MenuItem_SelectInTypeBrowser; }
public FindTypeDataMenuItem(Authenticator authenticator, IShell shell, TypeServiceViewModel typeService) { this.authenticator = authenticator; this.shell = shell; this.shell.ServiceChanged += Shell_ServiceChanged; this.typeService = typeService; this.InputGesture = new KeyGesture(Key.F, ModifierKeys.Control | ModifierKeys.Shift); this.DisplayName = Resources.MenuItem_FindAll; this.HideOnDisabled = true; }