3 writes to Identity
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (3)
StaticWebAsset.cs (3)
708Identity = identity, 1326string ITaskItem2.EvaluatedIncludeEscaped { get => Identity; set => Identity = value; } 1327string ITaskItem.ItemSpec { get => Identity; set => Identity = value; }
36 references to Identity
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (36)
StaticWebAsset.cs (34)
57_identity = asset.Identity; 509var file = ResolveFile(Identity, OriginalItemSpec); 595throw new InvalidOperationException($"Unknown source type '{SourceType}' for '{Identity}'."); 600throw new InvalidOperationException($"The '{nameof(SourceId)}' for the asset must be defined for '{Identity}'."); 605throw new InvalidOperationException($"The '{nameof(ContentRoot)}' for the asset must be defined for '{Identity}'."); 610throw new InvalidOperationException($"The '{nameof(BasePath)}' for the asset must be defined for '{Identity}'."); 615throw new InvalidOperationException($"The '{nameof(RelativePath)}' for the asset must be defined for '{Identity}'."); 620throw new InvalidOperationException($"The '{nameof(OriginalItemSpec)}' for the asset must be defined for '{Identity}'."); 630throw new InvalidOperationException($"Unknown Asset kind '{AssetKind}' for '{Identity}'."); 640throw new InvalidOperationException($"Unknown Asset mode '{AssetMode}' for '{Identity}'."); 650throw new InvalidOperationException($"Unknown Asset role '{AssetRole}' for '{Identity}'."); 655throw new InvalidOperationException($"Related asset for '{AssetRole}' asset '{Identity}' is not defined."); 660throw new InvalidOperationException($"Alternative asset '{Identity}' does not define an asset trait name or value."); 665throw new InvalidOperationException($"Fingerprint for '{Identity}' is not defined."); 670throw new InvalidOperationException($"Integrity for '{Identity}' is not defined."); 675throw new InvalidOperationException($"File length for '{Identity}' is not defined."); 680throw new InvalidOperationException($"Last write time for '{Identity}' is not defined."); 846var result = string.Compare(Identity, other.Identity, StringComparison.Ordinal); 973Identity == other.Identity && 1107var pattern = StaticWebAssetPathPattern.Parse(pathWithTokens, Identity); 1113var pattern = StaticWebAssetPathPattern.Parse(pathWithTokens, Identity); 1118$"Identity: {Identity}, " + 1144hash.Add(Identity); 1197var pattern = StaticWebAssetPathPattern.Parse(RelativePath, Identity); 1207var pattern = StaticWebAssetPathPattern.Parse(relativePath, Identity); 1213internal FileInfo ResolveFile() => ResolveFile(Identity, OriginalItemSpec); 1237dictionary.Add(candidateAsset.Identity, candidateAsset); 1326string ITaskItem2.EvaluatedIncludeEscaped { get => Identity; set => Identity = value; } 1327string ITaskItem.ItemSpec { get => Identity; set => Identity = value; } 1380"FullPath" => Identity ?? "", 1381nameof(Identity) => Identity ?? "",
UpgradeLegacyWasmStaticWebAssets.cs (2)
47Log.LogMessage($"Upgrading '{legacyAsset.RelativePath}' to use '{relatedAsset.Identity}' as the related asset"); 49upgradedAsset.RelatedAsset = relatedAsset.Identity;