9 writes to Attributes
Microsoft.DotNet.Build.Tasks.Feed (1)
src\BlobArtifactModelFactory.cs (1)
44
Attributes
= MSBuildListSplitter.GetNamedProperties(item.GetMetadata("ManifestArtifactData")),
Microsoft.DotNet.VersionTools (1)
BuildManifest\Model\BlobArtifactModel.cs (1)
105
Attributes
= xml
Microsoft.DotNet.VersionTools.Tests (7)
BuildManifest\ManifestModelTests.cs (7)
577
Attributes
= new Dictionary<string, string>
586
Attributes
= new Dictionary<string, string>
601
Attributes
= new Dictionary<string, string>
610
Attributes
= new Dictionary<string, string>
625
Attributes
= new Dictionary<string, string>
634
Attributes
= new Dictionary<string, string>
649
Attributes
= new Dictionary<string, string>
35 references to Attributes
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PublishArtifactsInManifestBase.cs (1)
1113
if (!blobAsset.
Attributes
.TryGetValue("Category", out categories) || string.Equals(categories, "NONE", StringComparison.OrdinalIgnoreCase))
Microsoft.DotNet.Build.Tasks.Feed.Tests (22)
BuildModelFactoryTests.cs (22)
140
blob.
Attributes
.Should().Contain("NonShipping", "true");
141
blob.
Attributes
.Should().Contain("Category", "SMORKELER");
142
blob.
Attributes
.Should().Contain("Id", bobSymbolsExpectedId);
143
blob.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
149
blob.
Attributes
.Should().Contain("NonShipping", "false");
150
blob.
Attributes
.Should().Contain("Category", "SNORPKEG");
151
blob.
Attributes
.Should().Contain("Id", bopSnupkgExpectedId);
152
blob.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
158
blob.
Attributes
.Should().Contain("ARandomBitOfMAD", string.Empty);
159
blob.
Attributes
.Should().Contain("Id", zipArtifact);
160
blob.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
448
blob.
Attributes
.Should().Contain("Id", bobSymbolsExpectedId);
449
blob.
Attributes
.Should().Contain("Category", "SMORKELER");
450
blob.
Attributes
.Should().Contain("NonShipping", "true");
451
blob.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
457
blob.
Attributes
.Should().Contain("Id", bopSnupkgExpectedId);
458
blob.
Attributes
.Should().Contain("Category", "SNORPKEG");
459
blob.
Attributes
.Should().Contain("NonShipping", "false");
460
blob.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
466
blob.
Attributes
.Should().Contain("Id", zipArtifact);
467
blob.
Attributes
.Should().Contain("ARandomBitOfMAD", string.Empty);
468
blob.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
Microsoft.DotNet.VersionTools (12)
BuildManifest\Model\BlobArtifactModel.cs (12)
23
get { return
Attributes
.GetOrDefault(nameof(Id)); }
24
set {
Attributes
[nameof(Id)] = value; }
31
string val =
Attributes
.GetOrDefault(nameof(NonShipping));
42
get =>
Attributes
.GetOrDefault(nameof(RepoOrigin));
43
set =>
Attributes
[nameof(RepoOrigin)] = value;
57
if (
Attributes
.Count() != other.
Attributes
.Count())
62
foreach (var localAttr in
Attributes
)
66
if (other.
Attributes
.GetOrDefault(localAttr.Key) != null)
72
other.
Attributes
.GetOrDefault(localAttr.Key),
89
foreach (var item in
Attributes
)
99
Attributes