Esempio n. 1
0
        private bool WarnAboutDotnetDeprecationImpl(IEnumerable<NuGetProject> projects)
        {
            var window = new DeprecatedFrameworkWindow(UIContext)
            {
                DataContext = DotnetDeprecatedPrompt.GetDeprecatedFrameworkModel(projects)
            };

            var dialogResult = window.ShowModal();
            return dialogResult ?? false;
        }
        private bool WarnAboutDotnetDeprecationImpl(DeprecatedFrameworkModel dataContext)
        {
            var window = new DeprecatedFrameworkWindow(UIContext)
            {
                DataContext = dataContext
            };

            var dialogResult = window.ShowModal();

            return(dialogResult ?? false);
        }