10 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)
147
Attributes
= xml
Microsoft.DotNet.VersionTools.Tests (8)
BuildManifest\ManifestModelTests.cs (8)
102
Attributes
= new Dictionary<string, string>
112
Attributes
= new Dictionary<string, string>
128
Attributes
= new Dictionary<string, string>
138
Attributes
= new Dictionary<string, string>
154
Attributes
= new Dictionary<string, string>
164
Attributes
= new Dictionary<string, string>
180
Attributes
= new Dictionary<string, string>
201
Attributes
= new Dictionary<string, string>
31 references to Attributes
Microsoft.DotNet.Build.Tasks.Feed.Tests (13)
BuildModelFactoryTests.cs (13)
168
package.
Attributes
.Should().Contain("ShouldWePushDaNorpKeg", "YES");
169
package.
Attributes
.Should().Contain("Id", "test-package-a");
170
package.
Attributes
.Should().Contain("Version", "1.0.0");
171
package.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
205
package.
Attributes
.Should().Contain("nonshipping", "true");
206
package.
Attributes
.Should().Contain("Category", "CASE");
207
package.
Attributes
.Should().Contain("Id", "test-package-a");
208
package.
Attributes
.Should().Contain("Version", "1.0.0");
209
package.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
480
package.
Attributes
.Should().Contain("Id", "test-package-a");
481
package.
Attributes
.Should().Contain("Version", "1.0.0");
482
package.
Attributes
.Should().Contain("ShouldWePushDaNorpKeg", "YES");
483
package.
Attributes
.Should().Contain("RepoOrigin", _testRepoOrigin);
Microsoft.DotNet.VersionTools (18)
BuildManifest\Model\PackageArtifactModel.cs (18)
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));
62
string val =
Attributes
.GetOrDefault(nameof(Visibility));
78
Attributes
[nameof(Visibility)] = value.ToString();
84
get =>
Attributes
.GetOrDefault(nameof(RepoOrigin));
85
set =>
Attributes
[nameof(RepoOrigin)] = value;
99
if (
Attributes
.Count() != other.
Attributes
.Count())
104
foreach (var localAttr in
Attributes
)
108
if (other.
Attributes
.GetOrDefault(localAttr.Key) != null)
114
other.
Attributes
.GetOrDefault(localAttr.Key),
131
foreach (var item in
Attributes
)
141
Attributes