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