6 writes to Attributes
Microsoft.DotNet.Build.Manifest (6)
BlobArtifactModel.cs (1)
25
Attributes
= xml
BlobArtifactModelFactory.cs (1)
43
Attributes
= MSBuildListSplitter.GetNamedProperties(item.GetMetadata("ManifestArtifactData")),
PackageArtifactModel.cs (1)
68
Attributes
= xml
PackageArtifactModelFactory.cs (1)
35
Attributes
= MSBuildListSplitter.GetNamedProperties(item.GetMetadata("ManifestArtifactData")),
PdbArtifactModel.cs (1)
37
Attributes
= xml
PdbArtifactModelFactory.cs (1)
41
Attributes
= MSBuildListSplitter.GetNamedProperties(item.GetMetadata("ManifestArtifactData")),
125 references to Attributes
Microsoft.DotNet.Build.Manifest (25)
ArtifactModel.cs (14)
24
get { return
Attributes
.GetOrDefault(nameof(Id)); }
25
set {
Attributes
[nameof(Id)] = value; }
30
get =>
Attributes
.GetOrDefault(nameof(RepoOrigin));
31
set =>
Attributes
[nameof(RepoOrigin)] = value;
38
string val =
Attributes
.GetOrDefault(nameof(NonShipping));
47
Attributes
[nameof(NonShipping)] = value.ToString();
55
string val =
Attributes
.GetOrDefault(nameof(Visibility));
71
Attributes
[nameof(Visibility)] = value.ToString();
84
if (
Attributes
.Count() != other.
Attributes
.Count())
89
foreach (var localAttr in
Attributes
)
93
if (other.
Attributes
.GetOrDefault(localAttr.Key) != null)
99
other.
Attributes
.GetOrDefault(localAttr.Key),
115
foreach (var item in
Attributes
)
BlobArtifactModel.cs (1)
19
Attributes
PackageArtifactModel.cs (8)
24
get { return
Attributes
.GetOrDefault(nameof(Version)); }
25
set {
Attributes
[nameof(Version)] = value; }
30
get { return
Attributes
.GetOrDefault(nameof(OriginBuildName)); }
31
set {
Attributes
[nameof(OriginBuildName)] = value; }
38
string val =
Attributes
.GetOrDefault(nameof(CouldBeStable));
49
Attributes
.Remove(nameof(CouldBeStable));
53
Attributes
[nameof(CouldBeStable)] = value.Value.ToString();
62
Attributes
PdbArtifactModel.cs (2)
21
foreach (var item in
Attributes
)
31
Attributes
Microsoft.DotNet.Build.Manifest.Tests (100)
BuildModelFactoryTests.cs (100)
171
blob.
Attributes
.Should().Contain("NonShipping", "true");
172
blob.
Attributes
.Should().Contain("Category", "SMORKELER");
173
blob.
Attributes
.Should().Contain("Id", bobSymbolsExpectedId);
174
blob.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
180
blob.
Attributes
.Should().Contain("NonShipping", "false");
181
blob.
Attributes
.Should().Contain("Category", "SNORPKEG");
182
blob.
Attributes
.Should().Contain("Id", bopSnupkgExpectedId);
183
blob.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
189
blob.
Attributes
.Should().Contain("ARandomBitOfMAD", string.Empty);
190
blob.
Attributes
.Should().Contain("Id", zipArtifact);
191
blob.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
200
package.
Attributes
.Should().Contain("ShouldWePushDaNorpKeg", "YES");
201
package.
Attributes
.Should().Contain("Id", "test-package-a");
202
package.
Attributes
.Should().Contain("Version", "1.0.0");
203
package.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
212
pdb.
Attributes
.Should().Contain("NonShipping", "false");
213
pdb.
Attributes
.Should().Contain("Category", "PDB");
214
pdb.
Attributes
.Should().Contain("Id", pdbArtifact);
215
pdb.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
262
package.
Attributes
.Should().Contain("nonshipping", "true");
263
package.
Attributes
.Should().Contain("Category", "CASE");
264
package.
Attributes
.Should().Contain("Id", "test-package-a");
265
package.
Attributes
.Should().Contain("Version", "1.0.0");
266
package.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
522
blob.
Attributes
.Should().Contain("Id", bobSymbolsExpectedId);
523
blob.
Attributes
.Should().Contain("Category", "SMORKELER");
524
blob.
Attributes
.Should().Contain("NonShipping", "true");
525
blob.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
531
blob.
Attributes
.Should().Contain("Id", bopSnupkgExpectedId);
532
blob.
Attributes
.Should().Contain("Category", "SNORPKEG");
533
blob.
Attributes
.Should().Contain("NonShipping", "false");
534
blob.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
540
blob.
Attributes
.Should().Contain("Id", zipArtifact);
541
blob.
Attributes
.Should().Contain("ARandomBitOfMAD", string.Empty);
542
blob.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
551
package.
Attributes
.Should().Contain("Id", "test-package-a");
552
package.
Attributes
.Should().Contain("Version", "1.0.0");
553
package.
Attributes
.Should().Contain("ShouldWePushDaNorpKeg", "YES");
554
package.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
563
pdb.
Attributes
.Should().Contain("NonShipping", "false");
564
pdb.
Attributes
.Should().Contain("Category", "PDB");
565
pdb.
Attributes
.Should().Contain("Id", pdbArtifact);
566
pdb.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
647
blob.
Attributes
.Should().Contain("Id", bobSymbolsExpectedId);
648
blob.
Attributes
.Should().Contain("Category", "SMORKELER");
649
blob.
Attributes
.Should().Contain("NonShipping", "true");
650
blob.
Attributes
.Should().Contain("RepoOrigin", "runtime");
656
blob.
Attributes
.Should().Contain("Id", zipArtifact);
657
blob.
Attributes
.Should().Contain("ARandomBitOfMAD", string.Empty);
658
blob.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
667
package.
Attributes
.Should().Contain("Id", "test-package-a");
668
package.
Attributes
.Should().Contain("Version", "1.0.0");
669
package.
Attributes
.Should().Contain("ShouldWePushDaNorpKeg", "YES");
670
package.
Attributes
.Should().Contain("RepoOrigin", "runtime");
678
pdb.
Attributes
.Should().Contain("NonShipping", "false");
679
pdb.
Attributes
.Should().Contain("Category", "PDB");
680
pdb.
Attributes
.Should().Contain("Id", pdbArtifact);
681
pdb.
Attributes
.Should().Contain("RepoOrigin", "runtime");
880
blobArtifactA.
Attributes
["AttributeA"] = "ValueA";
881
blobArtifactA.
Attributes
["AttributeB"] = "ValueB";
891
blobArtifactB.
Attributes
["AttributeC"] = "ValueC";
892
blobArtifactB.
Attributes
["AttributeD"] = "ValueD";
905
packageArtifactA.
Attributes
["AttributeE"] = "ValueE";
906
packageArtifactA.
Attributes
["AttributeF"] = "ValueF";
919
packageArtifactB.
Attributes
["AttributeG"] = "ValueG";
920
packageArtifactB.
Attributes
["AttributeH"] = "ValueH";
930
pdbArtifactA.
Attributes
["AttributeI"] = "ValueI";
931
pdbArtifactA.
Attributes
["AttributeJ"] = "ValueJ";
941
pdbArtifactB.
Attributes
["AttributeK"] = "ValueK";
942
pdbArtifactB.
Attributes
["AttributeL"] = "ValueL";
976
blob.
Attributes
.Should().Contain("AttributeA", "ValueA");
977
blob.
Attributes
.Should().Contain("AttributeB", "ValueB");
986
blob.
Attributes
.Should().Contain("AttributeC", "ValueC");
987
blob.
Attributes
.Should().Contain("AttributeD", "ValueD");
1001
package.
Attributes
.Should().Contain("AttributeE", "ValueE");
1002
package.
Attributes
.Should().Contain("AttributeF", "ValueF");
1014
package.
Attributes
.Should().Contain("AttributeG", "ValueG");
1015
package.
Attributes
.Should().Contain("AttributeH", "ValueH");
1026
pdb.
Attributes
.Should().Contain("AttributeI", "ValueI");
1027
pdb.
Attributes
.Should().Contain("AttributeJ", "ValueJ");
1036
pdb.
Attributes
.Should().Contain("AttributeK", "ValueK");
1037
pdb.
Attributes
.Should().Contain("AttributeL", "ValueL");
1056
blobArtifactA.
Attributes
["AttributeA"] = "ValueA";
1057
blobArtifactA.
Attributes
["AttributeB"] = "ValueB";
1067
blobArtifactB.
Attributes
["AttributeC"] = "ValueC";
1068
blobArtifactB.
Attributes
["AttributeD"] = "ValueD";
1081
packageArtifactA.
Attributes
["AttributeE"] = "ValueE";
1082
packageArtifactA.
Attributes
["AttributeF"] = "ValueF";
1095
packageArtifactB.
Attributes
["AttributeG"] = "ValueG";
1096
packageArtifactB.
Attributes
["AttributeH"] = "ValueH";
1106
pdbArtifactA.
Attributes
["AttributeI"] = "ValueI";
1107
pdbArtifactA.
Attributes
["AttributeJ"] = "ValueJ";
1117
pdbArtifactB.
Attributes
["AttributeK"] = "ValueK";
1118
pdbArtifactB.
Attributes
["AttributeL"] = "ValueL";
1152
blob.
Attributes
.Should().Contain("AttributeA", "ValueA");
1153
blob.
Attributes
.Should().Contain("AttributeB", "ValueB");
1167
package.
Attributes
.Should().Contain("AttributeE", "ValueE");
1168
package.
Attributes
.Should().Contain("AttributeF", "ValueF");
1179
pdb.
Attributes
.Should().Contain("AttributeI", "ValueI");
1180
pdb.
Attributes
.Should().Contain("AttributeJ", "ValueJ");