API Reference
AdmxExplorerSourcePackageMetadata
Optional provenance metadata used to label a package-level ADMX source group.
Inheritance
- Object
- AdmxExplorerSourcePackageMetadata
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
Constructors
public AdmxExplorerSourcePackageMetadata() #Methods
public static AdmxExplorerSourcePackageMetadata FromCatalogEntry(AdmxProviderCatalogEntry entry, String id = null, String displayName = null, String version = null, String publishedDate = null, String sourceUrl = null, IEnumerable<String> directories = null, IEnumerable<String> sourceAdmxFiles = null) #AdmxExplorerSourcePackageMetadataBuilds package metadata from a maintained provider cache catalog entry.
Parameters
- entry ADPlayground.Gpo.GpoLocal.AdmxProviderCatalogEntry
- Catalog entry to project into explorer source-package metadata.
- id System.String = null
- Optional stable package identifier override.
- displayName System.String = null
- Optional display name override.
- version System.String = null
- Optional version override.
- publishedDate System.String = null
- Optional release or publish date override.
- sourceUrl System.String = null
- Optional upstream URL override.
- directories System.Collections.Generic.IEnumerable{System.String} = null
- Optional directories whose ADMX files should receive this metadata.
- sourceAdmxFiles System.Collections.Generic.IEnumerable{System.String} = null
- Optional ADMX filenames whose source package should receive this metadata.
Returns
Metadata suitable for AdmxExplorerExportService and AdmxExplorerExportStore.
Exceptions
ArgumentNullException– Thrown when entry is null.
public static AdmxExplorerSourcePackageMetadata FromRelease(AdmxRelease release, String id = null, String displayName = null, String version = null, String publishedDate = null, String sourceUrl = null, IEnumerable<String> directories = null, IEnumerable<String> sourceAdmxFiles = null) #AdmxExplorerSourcePackageMetadataBuilds package metadata from an ADMX release descriptor discovered by AdmxReleaseProvider.
Parameters
- release ADPlayground.Gpo.GpoLocal.AdmxRelease
- Release descriptor to project into explorer source-package metadata.
- id System.String = null
- Optional stable package identifier override.
- displayName System.String = null
- Optional display name override.
- version System.String = null
- Optional version override.
- publishedDate System.String = null
- Optional release or publish date override.
- sourceUrl System.String = null
- Optional upstream URL override.
- directories System.Collections.Generic.IEnumerable{System.String} = null
- Optional directories whose ADMX files should receive this metadata.
- sourceAdmxFiles System.Collections.Generic.IEnumerable{System.String} = null
- Optional ADMX filenames whose source package should receive this metadata.
Returns
Metadata suitable for AdmxExplorerExportService and AdmxExplorerExportStore.
Exceptions
ArgumentNullException– Thrown when release is null.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String Id { get; set; } #Stable package identifier to use in manifest links, when known.
public String DisplayName { get; set; } #Display label for the source package, such as Microsoft Windows 11 25H2.
public String Vendor { get; set; } #Optional upstream vendor or publisher for the source package.
public String Version { get; set; } #Optional package version published by the upstream vendor.
public String PublishedDate { get; set; } #Optional package release or publish date.
public String SourceUrl { get; set; } #Optional upstream source URL for audit and troubleshooting.
public IReadOnlyList<String> Directories { get; set; } #Directories whose ADMX files should receive this metadata.
public IReadOnlyList<String> SourceAdmxFiles { get; set; } #Specific ADMX filenames whose source package should receive this metadata.