LicenseAcceptanceView CreateLicenseAcceptanceView(LicenseAcceptanceViewModel viewModel)
 {
     var view = new LicenseAcceptanceView();
     view.DataContext = viewModel;
     view.Owner = Owner;
     return view;
 }
        LicenseAcceptanceView CreateLicenseAcceptanceView(LicenseAcceptanceViewModel viewModel)
        {
            var view = new LicenseAcceptanceView();

            view.DataContext = viewModel;
            view.Owner       = Owner;
            return(view);
        }
        public bool AcceptLicenses(IEnumerable <IPackage> packages)
        {
            LicenseAcceptanceView view = CreateLicenseAcceptanceView(packages);

            return(view.ShowDialog() ?? false);
        }