コード例 #1
0
        private async Task InitializeModelAsync()
        {
            var settings = new SqlSProcPublishSettings(_settings);

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

            DataContext = _model;
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 private async Task InitializeModelAsync() {
     var settings = new SqlSProcPublishSettings(_settings);
     _model = await SqlPublishOptionsDialogViewModel.CreateAsync(settings, _appShell, _pss, _pcsp);
     DataContext = _model;
 }
コード例 #4
0
 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;
 }