public PackageBatchViewModel(PackagesBatch packagesBatch, IPackageCommandService packageCommandService, IPackageOperationContextService packageOperationContextService)
        {
            Argument.IsNotNull(() => packagesBatch);
            Argument.IsNotNull(() => packageCommandService);
            Argument.IsNotNull(() => packageOperationContextService);

            _packageCommandService          = packageCommandService;
            _packageOperationContextService = packageOperationContextService;

            PackagesBatch = packagesBatch;
            AccentColorHelper.CreateAccentColorResourceDictionary();

            ActionName       = _packageCommandService.GetActionName(packagesBatch.OperationType);
            PluralActionName = _packageCommandService.GetPluralActionName(packagesBatch.OperationType);

            PackageAction = new Command(OnPackageActionExecute, OnPackageActionCanExecute);
            ApplyAll      = new Command(OnApplyAllExecute, OnApplyAllCanExecute);
        }
        public PackageBatchViewModel(PackagesBatch packagesBatch, IPackageCommandService packageCommandService, IPackageOperationContextService packageOperationContextService)
        {
            Argument.IsNotNull(() => packagesBatch);
            Argument.IsNotNull(() => packageCommandService);
            Argument.IsNotNull(() => packageOperationContextService);

            _packageCommandService = packageCommandService;
            _packageOperationContextService = packageOperationContextService;

            PackagesBatch = packagesBatch;
            AccentColorHelper.CreateAccentColorResourceDictionary();

            ActionName = _packageCommandService.GetActionName(packagesBatch.OperationType);
            PluralActionName = _packageCommandService.GetPluralActionName(packagesBatch.OperationType);

            PackageAction = new Command(OnPackageActionExecute, OnPackageActionCanExecute);
            ApplyAll = new Command(OnApplyAllExecute, OnApplyAllCanExecute);
        }