17 references to ArtifactVisibility
Microsoft.DotNet.Build.Tasks.Feed (5)
src\PushToBuildStorage.cs (5)
227ArtifactVisibility[] visibilitiesToPublish = GetVisibilitiesToPublish(ArtifactVisibilitiesToPublish); 334private static ArtifactVisibility[] GetVisibilitiesToPublish(ITaskItem[] allowedVisibilities) 338return [ArtifactVisibility.External]; 341return allowedVisibilities.Select(item => (ArtifactVisibility)Enum.Parse(typeof(ArtifactVisibility), item.ItemSpec)).ToArray();
Microsoft.DotNet.VersionTools (6)
BuildManifest\Model\BlobArtifactModel.cs (3)
46public ArtifactVisibility Visibility 53return ArtifactVisibility.External; 55else if (Enum.TryParse(val, out ArtifactVisibility visibility))
BuildManifest\Model\PackageArtifactModel.cs (3)
58public ArtifactVisibility Visibility 65return ArtifactVisibility.External; 67else if (Enum.TryParse(val, out ArtifactVisibility visibility))
Microsoft.DotNet.VersionTools.Tests (6)
BuildManifest\ManifestModelTests.cs (6)
207Assert.Equal(visibility is "" ? ArtifactVisibility.External : (ArtifactVisibility)Enum.Parse(typeof(ArtifactVisibility), visibility), packageArtifact.Visibility); 313Assert.Equal(visibility is "" ? ArtifactVisibility.External : (ArtifactVisibility)Enum.Parse(typeof(ArtifactVisibility), visibility), blobArtifact.Visibility);