Class PackageManifest
Represents a package manifest that defines metadata and extensions for an Umbraco package.
Inheritance
object
Namespace: Umbraco.Cms.Core.Manifest
Assembly: Umbraco.Core.dll
Syntax
public class PackageManifest
Constructors
View SourcePackageManifest()
Declaration
public PackageManifest()
Properties
View SourceAllowPackageTelemetry
Gets or sets a value indicating whether the package allows telemetry collection.
Declaration
[Obsolete("Use AllowTelemetry instead. Scheduled for removal in Umbraco 18.")]
public bool AllowPackageTelemetry { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
AllowPublicAccess
Gets or sets a value indicating whether the package allows public access.
Declaration
public bool AllowPublicAccess { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
AllowTelemetry
Gets or sets a value indicating whether the package allows telemetry collection.
Declaration
public bool AllowTelemetry { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Extensions
Gets or sets the array of extension objects defined by this package.
Declaration
public required object[] Extensions { get; set; }
Property Value
| Type | Description |
|---|---|
| object[] |
Id
Gets or sets the unique identifier of the package.
Declaration
public string? Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Importmap
Gets or sets the importmap configuration for the package.
Declaration
public PackageManifestImportmap? Importmap { get; set; }
Property Value
| Type | Description |
|---|---|
| PackageManifestImportmap |
Name
Gets or sets the name of the package.
Declaration
public required string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Version
Gets or sets the version of the package.
Declaration
public string? Version { get; set; }
Property Value
| Type | Description |
|---|---|
| string |