15 references to HasCredentialMaterial
aspire (13)
Commands\AddCommand.cs (2)
120PackageSourceOverrideMappings.HasCredentialMaterial(source)) 363if (selectedSource is not null && PackageSourceOverrideMappings.HasCredentialMaterial(selectedSource))
Commands\NewCommand.cs (1)
639if (!string.IsNullOrWhiteSpace(source) && PackageSourceOverrideMappings.HasCredentialMaterial(source))
NuGet\BundleNuGetService.cs (1)
133.Where(PackageSourceOverrideMappings.HasCredentialMaterial)
Packaging\IntegrationSourceConfiguration.cs (1)
160if (string.IsNullOrWhiteSpace(source) || PackageSourceOverrideMappings.HasCredentialMaterial(source) ||
Packaging\PackageSourceOverrideMappings.cs (1)
150if (HasCredentialMaterial(source))
Projects\IntegrationRestorePlan.cs (3)
401.Where(PackageSourceOverrideMappings.HasCredentialMaterial) ?? []) 422.Where(PackageSourceOverrideMappings.HasCredentialMaterial) 491.Where(static source => !PackageSourceOverrideMappings.HasCredentialMaterial(source))
Projects\PrebuiltAppHostServer.cs (1)
494.Concat(evaluatedSources.Where(PackageSourceOverrideMappings.HasCredentialMaterial))
Projects\ProjectUpdater.cs (1)
1460if (PackageSourceOverrideMappings.HasCredentialMaterial(source))
Templating\TemplateNuGetConfigService.cs (2)
68if (mappings.Any(static mapping => PackageSourceOverrideMappings.HasCredentialMaterial(mapping.Source))) 217if (PackageSourceOverrideMappings.HasCredentialMaterial(sourceOverride))
Aspire.Cli.Tests (2)
Packaging\PackageSourceOverrideMappingsTests.cs (2)
40Assert.True(PackageSourceOverrideMappings.HasCredentialMaterial(source)); 218Assert.True(PackageSourceOverrideMappings.HasCredentialMaterial(result));