Implemented interface member:
property
LicenseMetadata
NuGet.Packaging.IPackageMetadata.LicenseMetadata
3 writes to LicenseMetadata
Microsoft.DotNet.Build.Tasks.Packaging (1)
GenerateNuSpec.cs (1)
217manifestMetadata.LicenseMetadata = new LicenseMetadata(
NuGet.Packaging (2)
PackageCreation\Authoring\ManifestMetadata.cs (1)
64LicenseMetadata = copy.LicenseMetadata;
PackageCreation\Authoring\ManifestReader.cs (1)
161manifestMetadata.LicenseMetadata = ReadLicenseMetadata(element);
6 references to LicenseMetadata
NuGet.Packaging (6)
PackageCreation\Authoring\ManifestMetadata.cs (3)
359if ((string.IsNullOrWhiteSpace(_licenseUrl) && LicenseMetadata == null)) 370if (_licenseUrl != null && LicenseMetadata != null && (string.IsNullOrWhiteSpace(_licenseUrl) || !LicenseUrl!.Equals(LicenseMetadata.LicenseUrl)))
PackageCreation\Xml\PackageMetadataXmlExtensions.cs (3)
59if (metadata.LicenseMetadata != null) 61var licenseElement = GetXElementFromLicenseMetadata(ns, metadata.LicenseMetadata); 68licenseUrlToWrite = metadata.LicenseMetadata.LicenseUrl.OriginalString;