2 writes to Attributes
Microsoft.DotNet.Build.Tasks.Feed (1)
src\BuildModelFactory.cs (1)
222Attributes = attributes,
Microsoft.DotNet.VersionTools (1)
BuildManifest\Model\BuildIdentity.cs (1)
167Attributes = xml
24 references to Attributes
Microsoft.DotNet.Build.Tasks.Feed.Tests (3)
BuildModelFactoryTests.cs (3)
175model.Identity.Attributes.Should().Contain("AzureDevOpsRepository", _normalizedTestAzdoRepoUri); 298model.Identity.Attributes.Should().Contain(attributeName, _normalizedTestInitialLocation); 424modelFromItems.Identity.Attributes.Select(kv => $"{kv.Key}={kv.Value}").ToArray(),
Microsoft.DotNet.VersionTools (21)
BuildManifest\Model\BuildIdentity.cs (19)
39get { return Attributes.GetOrDefault(nameof(Name)); } 40set { Attributes[nameof(Name)] = value; } 45get { return Attributes.GetOrDefault(nameof(BuildId)); } 46set { Attributes[nameof(BuildId)] = value; } 51get { return Attributes.GetOrDefault(nameof(ProductVersion)); } 52set { Attributes[nameof(ProductVersion)] = value; } 57get { return Attributes.GetOrDefault(nameof(Branch)); } 58set { Attributes[nameof(Branch)] = value; } 63get { return Attributes.GetOrDefault(nameof(Commit)); } 64set { Attributes[nameof(Commit)] = value; } 71string value = Attributes.GetOrDefault(nameof(IsStable)); 85Attributes[nameof(IsStable)] = value.ToString().ToLower(); 93string value = Attributes.GetOrDefault(nameof(IsReleaseOnlyPackageVersion)); 107Attributes[nameof(IsReleaseOnlyPackageVersion)] = value.ToString().ToLower(); 113get { return Attributes.GetOrDefault(nameof(VersionStamp)); } 114set { Attributes[nameof(VersionStamp)] = value; } 120string value = Attributes.GetOrDefault(nameof(PublishingVersion)); 133Attributes[nameof(PublishingVersion)] = ((int)value).ToString(); 159public IEnumerable<XAttribute> ToXmlAttributes() => Attributes
Dependencies\BuildManifest\OrchestratedBuildIdentityMatch.cs (1)
49if (!Match.Attributes.TryGetValue(name, out value))
Dependencies\BuildOutput\OrchestratedBuild\OrchestratedBuildUpdateHelpers.cs (1)
28if (match.Match.Attributes.TryGetValue(attributeName, out value))