13 references to Normalize
aspire (11)
Commands\AddCommand.cs (1)
931
PackageSourceIdentity.
Normalize
(package.Package.Source);
Packaging\PackageChannel.cs (1)
338
.DistinctBy(p => (Id: p.Id.ToUpperInvariant(), Version: p.Version.ToUpperInvariant(), Source: PackageSourceIdentity.
Normalize
(p.Source)));
Packaging\PackageSourceIdentity.cs (3)
30
string.Equals(
Normalize
(x),
Normalize
(y), StringComparison.Ordinal);
33
public int GetHashCode(string obj) => StringComparer.Ordinal.GetHashCode(
Normalize
(obj));
Packaging\PackageSourceOverrideMappings.cs (1)
88
(mapping.PackageFilter.ToUpperInvariant(), PackageSourceIdentity.
Normalize
(mapping.Source)))
Projects\IntegrationRestorePlan.cs (4)
302
.ThenBy(static mapping => PackageSourceIdentity.
Normalize
(mapping.Source), StringComparer.Ordinal);
306
AppendIdentityPart(builder, PackageSourceIdentity.
Normalize
(mapping.Source));
311
.OrderBy(PackageSourceIdentity.
Normalize
, StringComparer.Ordinal))
313
AppendIdentityPart(builder, PackageSourceIdentity.
Normalize
(source));
Utils\CliPathHelper.cs (1)
196
var normalized = PackageSourceIdentity.
Normalize
(feedUrl);
Aspire.Cli.Tests (2)
Packaging\PackageSourceIdentityTests.cs (2)
120
PackageSourceIdentity.
Normalize
(feed.FullName),
121
PackageSourceIdentity.
Normalize
(nativeSource.Source));