private async Task InitializeModelAsync()
        {
            var settings = new SqlSProcPublishSettings(_settings);

            _model = await SqlPublishOptionsDialogViewModel.CreateAsync(settings, _shell, _pss, _pcsp);

            DataContext = _model;
        }
        public static async Task <SqlPublishOptionsDialogViewModel> CreateAsync(
            SqlSProcPublishSettings settings,
            ICoreShell coreShell, IProjectSystemServices pss,
            IProjectConfigurationSettingsProvider pcsp)
        {
            var model = new SqlPublishOptionsDialogViewModel(settings, coreShell, pss, pcsp);
            await model.InitializeAsync();

            return(model);
        }
 private async Task InitializeModelAsync() {
     var settings = new SqlSProcPublishSettings(_settings);
     _model = await SqlPublishOptionsDialogViewModel.CreateAsync(settings, _appShell, _pss, _pcsp);
     DataContext = _model;
 }
 public static async Task<SqlPublishOptionsDialogViewModel> CreateAsync(
     SqlSProcPublishSettings settings,
     ICoreShell coreShell, IProjectSystemServices pss,
     IProjectConfigurationSettingsProvider pcsp) {
     var model = new SqlPublishOptionsDialogViewModel(settings, coreShell, pss, pcsp);
     await model.InitializeAsync();
     return model;
 }