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