Exemple #1
0
        public DependencyViewerViewModel(
            IInteractionService interactionService,
            IDependencyMapper dependencyMapper) : base("Analyze dependencies", interactionService)
        {
            this.dependencyMapper   = dependencyMapper;
            this.interactionService = interactionService;
            this.Path = new ChangeableFileProperty("Path to the package", interactionService, ChangeableFileProperty.ValidatePathAndPresence)
            {
                IsValidated = true,
                // ReSharper disable once StringLiteralTypo
                Filter = new DialogFilterBuilder("*" + FileConstants.MsixExtension, "*" + FileConstants.AppxExtension, FileConstants.AppxManifestFile).BuildFilter()
            };

            this.AddChildren(this.Path);
            this.Analyze     = new DelegateCommand(this.AnalyzeExecuted);
            this.IsValidated = false;

            this.Export = new DelegateCommand <string>(this.OnExport);
            this.Print  = new DelegateCommand(this.OnPrint);
        }
Exemple #2
0
 public ZipPackageMapper(IDependencyMapper dependencyMapper)
 {
     _dependencyMapper = dependencyMapper;
 }
Exemple #3
0
 public DependenciesLogicCoreGenerator(IDependencyMapper dependencyMapper)
 {
     this.dependencyMapper = dependencyMapper;
 }