예제 #1
0
 public SelectInBrowserMenuItem(IShell shell, TypeBrowserViewModel browser, TypeServiceViewModel service)
 {
     this.shell       = shell;
     this.browser     = browser;
     this.service     = service;
     this.DisplayName = Resources.MenuItem_SelectInTypeBrowser;
 }
예제 #2
0
 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;
 }