TestimoX

API Reference

Class

AdmxExplorerSourcePackageMetadata

Namespace ADPlayground.Gpo.GpoLocal
Assembly ADPlayground
Modifiers sealed

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.

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) #
Returns: AdmxExplorerSourcePackageMetadata

Builds package metadata from a maintained provider cache catalog entry.

Parameters

entry ADPlayground.Gpo.GpoLocal.AdmxProviderCatalogEntry requiredposition: 0
Catalog entry to project into explorer source-package metadata.
id System.String = null optionalposition: 1
Optional stable package identifier override.
displayName System.String = null optionalposition: 2
Optional display name override.
version System.String = null optionalposition: 3
Optional version override.
publishedDate System.String = null optionalposition: 4
Optional release or publish date override.
sourceUrl System.String = null optionalposition: 5
Optional upstream URL override.
directories System.Collections.Generic.IEnumerable{System.String} = null optionalposition: 6
Optional directories whose ADMX files should receive this metadata.
sourceAdmxFiles System.Collections.Generic.IEnumerable{System.String} = null optionalposition: 7
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) #
Returns: AdmxExplorerSourcePackageMetadata

Builds package metadata from an ADMX release descriptor discovered by AdmxReleaseProvider.

Parameters

release ADPlayground.Gpo.GpoLocal.AdmxRelease requiredposition: 0
Release descriptor to project into explorer source-package metadata.
id System.String = null optionalposition: 1
Optional stable package identifier override.
displayName System.String = null optionalposition: 2
Optional display name override.
version System.String = null optionalposition: 3
Optional version override.
publishedDate System.String = null optionalposition: 4
Optional release or publish date override.
sourceUrl System.String = null optionalposition: 5
Optional upstream URL override.
directories System.Collections.Generic.IEnumerable{System.String} = null optionalposition: 6
Optional directories whose ADMX files should receive this metadata.
sourceAdmxFiles System.Collections.Generic.IEnumerable{System.String} = null optionalposition: 7
Optional ADMX filenames whose source package should receive this metadata.

Returns

Metadata suitable for AdmxExplorerExportService and AdmxExplorerExportStore.

Exceptions

  • ArgumentNullException – Thrown when release is null.

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.