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)
BuildManifest\Model\PackageArtifactModel.cs (1)
123
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>
30 references to Attributes
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PublishArtifactsInManifestBase.cs (1)
1083
if (!packageAsset.
Attributes
.TryGetValue("Category", out categories))
Microsoft.DotNet.Build.Tasks.Feed.Tests (13)
BuildModelFactoryTests.cs (13)
169
package.
Attributes
.Should().Contain("ShouldWePushDaNorpKeg", "YES");
170
package.
Attributes
.Should().Contain("Id", "test-package-a");
171
package.
Attributes
.Should().Contain("Version", "1.0.0");
172
package.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
206
package.
Attributes
.Should().Contain("nonshipping", "true");
207
package.
Attributes
.Should().Contain("Category", "CASE");
208
package.
Attributes
.Should().Contain("Id", "test-package-a");
209
package.
Attributes
.Should().Contain("Version", "1.0.0");
210
package.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
477
package.
Attributes
.Should().Contain("Id", "test-package-a");
478
package.
Attributes
.Should().Contain("Version", "1.0.0");
479
package.
Attributes
.Should().Contain("ShouldWePushDaNorpKeg", "YES");
480
package.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
Microsoft.DotNet.VersionTools (16)
BuildManifest\Model\PackageArtifactModel.cs (16)
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));
60
get =>
Attributes
.GetOrDefault(nameof(RepoOrigin));
61
set =>
Attributes
[nameof(RepoOrigin)] = value;
75
if (
Attributes
.Count() != other.
Attributes
.Count())
80
foreach (var localAttr in
Attributes
)
84
if (other.
Attributes
.GetOrDefault(localAttr.Key) != null)
90
other.
Attributes
.GetOrDefault(localAttr.Key),
107
foreach (var item in
Attributes
)
117
Attributes