3 writes to BasePath
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (3)
StaticWebAsset.cs (3)
712BasePath = basePath, 744BasePath = Normalize(BasePath); 1428BasePath = metadataValue;
21 references to BasePath
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (21)
StaticWebAsset.cs (21)
61_basePath = asset.BasePath; 132get => _basePath ??= GetOriginalItemMetadata(nameof(BasePath)); 559IsDiscovered() || IsComputed() ? "" : BasePath, 608if (string.IsNullOrEmpty(BasePath)) 610throw new InvalidOperationException($"The '{nameof(BasePath)}' for the asset must be defined for '{Identity}'."); 744BasePath = Normalize(BasePath); 882result = string.Compare(BasePath, other.BasePath, StringComparison.Ordinal); 979BasePath == other.BasePath && 1063var computedBasePath = IsDiscovered() || IsComputed() ? "" : BasePath; 1122$"BasePath: {BasePath}, " + 1150hash.Add(BasePath); 1333nameof(BasePath), 1386nameof(BasePath) => BasePath ?? "", 1427case nameof(BasePath): 1495{ nameof(BasePath), BasePath ?? "" }, 1534destinationItem.SetMetadata(nameof(BasePath), BasePath ?? "");