9 writes to Attributes
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PackageArtifactModelFactory.cs (1)
36
Attributes
= MSBuildListSplitter.GetNamedProperties(item.GetMetadata("ManifestArtifactData")),
Microsoft.DotNet.VersionTools (1)
src\BuildManifest\Model\PackageArtifactModel.cs (1)
117
Attributes
= xml
Microsoft.DotNet.VersionTools.Tests (7)
BuildManifest\ManifestModelTests.cs (7)
483
Attributes
= new Dictionary<string, string>
493
Attributes
= new Dictionary<string, string>
509
Attributes
= new Dictionary<string, string>
519
Attributes
= new Dictionary<string, string>
535
Attributes
= new Dictionary<string, string>
545
Attributes
= new Dictionary<string, string>
561
Attributes
= new Dictionary<string, string>
25 references to Attributes
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PublishArtifactsInManifestBase.cs (1)
1108
if (!packageAsset.
Attributes
.TryGetValue("Category", out categories))
Microsoft.DotNet.Build.Tasks.Feed.Tests (10)
BuildModelFactoryTests.cs (10)
167
package.
Attributes
.Should().Contain("ShouldWePushDaNorpKeg", "YES");
168
package.
Attributes
.Should().Contain("Id", "test-package-a");
169
package.
Attributes
.Should().Contain("Version", "1.0.0");
204
package.
Attributes
.Should().Contain("nonshipping", "true");
205
package.
Attributes
.Should().Contain("Category", "CASE");
206
package.
Attributes
.Should().Contain("Id", "test-package-a");
207
package.
Attributes
.Should().Contain("Version", "1.0.0");
474
package.
Attributes
.Should().Contain("Id", "test-package-a");
475
package.
Attributes
.Should().Contain("Version", "1.0.0");
476
package.
Attributes
.Should().Contain("ShouldWePushDaNorpKeg", "YES");
Microsoft.DotNet.VersionTools (14)
src\BuildManifest\Model\PackageArtifactModel.cs (14)
29
get { return
Attributes
.GetOrDefault(nameof(Id)); }
30
set {
Attributes
[nameof(Id)] = value; }
35
get { return
Attributes
.GetOrDefault(nameof(Version)); }
36
set {
Attributes
[nameof(Version)] = value; }
41
get { return
Attributes
.GetOrDefault(nameof(OriginBuildName)); }
42
set {
Attributes
[nameof(OriginBuildName)] = value; }
49
string val =
Attributes
.GetOrDefault(nameof(NonShipping));
69
if (
Attributes
.Count() != other.
Attributes
.Count())
74
foreach (var localAttr in
Attributes
)
78
if (other.
Attributes
.GetOrDefault(localAttr.Key) != null)
84
other.
Attributes
.GetOrDefault(localAttr.Key),
101
foreach (var item in
Attributes
)
111
Attributes