public async Task InitComponentsAsync() { await OutputLog.InitOutputWindowPaneAsync(); dte = (EnvDTE.DTE) await GetServiceAsync(typeof(EnvDTE.DTE)); JFrogXrayOptions jfrogOptions = (JFrogXrayOptions)GetDialogPage(typeof(JFrogXrayOptions)); HttpUtils.InitClient(jfrogOptions.getUrl(), jfrogOptions.User, jfrogOptions.Password); }
public void InitComponents() { IVsOutputWindow outputWindow = base.GetService(typeof(SVsOutputWindow)) as IVsOutputWindow; OutputLog.InitOutputWindowPane(outputWindow); dte = (EnvDTE.DTE)GetService(typeof(EnvDTE.DTE)); JFrogXrayOptions jfrogOptions = (JFrogXrayOptions)GetDialogPage(typeof(JFrogXrayOptions)); HttpUtils.InitClient(jfrogOptions.getUrl(), jfrogOptions.User, jfrogOptions.Password); }