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)
src\BuildManifest\Model\BlobArtifactModel.cs (1)
99
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>
27 references to Attributes
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PublishArtifactsInManifestBase.cs (1)
1138
if (!blobAsset.
Attributes
.TryGetValue("Category", out categories) || string.Equals(categories, "NONE", StringComparison.OrdinalIgnoreCase))
Microsoft.DotNet.Build.Tasks.Feed.Tests (16)
BuildModelFactoryTests.cs (16)
141
blob.
Attributes
.Should().Contain("NonShipping", "true");
142
blob.
Attributes
.Should().Contain("Category", "SMORKELER");
143
blob.
Attributes
.Should().Contain("Id", bobSymbolsExpectedId);
149
blob.
Attributes
.Should().Contain("NonShipping", "false");
150
blob.
Attributes
.Should().Contain("Category", "SNORPKEG");
151
blob.
Attributes
.Should().Contain("Id", bopSnupkgExpectedId);
157
blob.
Attributes
.Should().Contain("ARandomBitOfMAD", string.Empty);
158
blob.
Attributes
.Should().Contain("Id", zipArtifact);
448
blob.
Attributes
.Should().Contain("Id", bobSymbolsExpectedId);
449
blob.
Attributes
.Should().Contain("Category", "SMORKELER");
450
blob.
Attributes
.Should().Contain("NonShipping", "true");
456
blob.
Attributes
.Should().Contain("Id", bopSnupkgExpectedId);
457
blob.
Attributes
.Should().Contain("Category", "SNORPKEG");
458
blob.
Attributes
.Should().Contain("NonShipping", "false");
464
blob.
Attributes
.Should().Contain("Id", zipArtifact);
465
blob.
Attributes
.Should().Contain("ARandomBitOfMAD", string.Empty);
Microsoft.DotNet.VersionTools (10)
src\BuildManifest\Model\BlobArtifactModel.cs (10)
23
get { return
Attributes
.GetOrDefault(nameof(Id)); }
24
set {
Attributes
[nameof(Id)] = value; }
31
string val =
Attributes
.GetOrDefault(nameof(NonShipping));
51
if (
Attributes
.Count() != other.
Attributes
.Count())
56
foreach (var localAttr in
Attributes
)
60
if (other.
Attributes
.GetOrDefault(localAttr.Key) != null)
66
other.
Attributes
.GetOrDefault(localAttr.Key),
83
foreach (var item in
Attributes
)
93
Attributes