コード例 #1
0
            protected PackageHasSignatureValidator CreateTarget(bool requireRepositorySignature = true)
            {
                var endpoint = ValidatorTestUtility.CreateCatalogEndpoint();
                var config   = ValidatorTestUtility.CreateValidatorConfig(requireRepositorySignature: requireRepositorySignature);

                return(new PackageHasSignatureValidator(endpoint, config, _logger.Object));
            }
コード例 #2
0
 public Constructor()
 {
     _endpoint      = ValidatorTestUtility.CreateCatalogEndpoint();
     _configuration = new ValidatorConfiguration(packageBaseAddress: "a", requireRepositorySignature: true);
 }