Class PackageManifest
Represents the content of a package manifest.
Inheritance
Namespace: Umbraco.Cms.Core.Manifest
Assembly: Umbraco.Core.dll
Syntax
[DataContract]
public class PackageManifest
Properties
View SourceAllowPackageTelemetry
Gets or sets a value indicating whether telemetry is allowed.
Declaration
[DataMember(Name = "allowPackageTelemetry")]
public bool AllowPackageTelemetry { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
BundleOptions
Gets or sets the bundle options.
Declaration
[DataMember(Name = "bundleOptions")]
public BundleOptions BundleOptions { get; set; }
Property Value
Type | Description |
---|---|
BundleOptions | The bundle options. |
ContentApps
Gets or sets the content apps listed in the manifest.
Declaration
[DataMember(Name = "contentApps")]
public ManifestContentAppDefinition[] ContentApps { get; set; }
Property Value
Type | Description |
---|---|
ManifestContentAppDefinition[] | The content apps. |
Dashboards
Gets or sets the dashboards listed in the manifest.
Declaration
[DataMember(Name = "dashboards")]
public ManifestDashboard[] Dashboards { get; set; }
Property Value
Type | Description |
---|---|
ManifestDashboard[] | The dashboards. |
GridEditors
Gets or sets the grid editors listed in the manifest.
Declaration
[DataMember(Name = "gridEditors")]
public GridEditor[] GridEditors { get; set; }
Property Value
Type | Description |
---|---|
GridEditor[] | The grid editors. |
PackageId
Gets or sets the package identifier.
Declaration
[DataMember(Name = "id")]
public string PackageId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The package identifier. |
PackageName
Gets or sets the name of the package. If not specified, uses the package identifier or directory name instead.
Declaration
[DataMember(Name = "name")]
public string PackageName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the package. |
PackageView
Gets or sets the package view.
Declaration
[DataMember(Name = "packageView")]
public string PackageView { get; set; }
Property Value
Type | Description |
---|---|
System.String | The package view. |
ParameterEditors
Gets or sets the parameter editors listed in the manifest.
Declaration
[DataMember(Name = "parameterEditors")]
public IDataEditor[] ParameterEditors { get; set; }
Property Value
Type | Description |
---|---|
IDataEditor[] | The parameter editors. |
PropertyEditors
Gets or sets the property editors listed in the manifest.
Declaration
[DataMember(Name = "propertyEditors")]
public IDataEditor[] PropertyEditors { get; set; }
Property Value
Type | Description |
---|---|
IDataEditor[] | The property editors. |
Scripts
Gets or sets the scripts listed in the manifest.
Declaration
[DataMember(Name = "javascript")]
public string[] Scripts { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | The scripts. |
Sections
Gets or sets the sections listed in the manifest.
Declaration
[DataMember(Name = "sections")]
public ManifestSection[] Sections { get; set; }
Property Value
Type | Description |
---|---|
ManifestSection[] | The sections. |
Source
Gets or sets the source path of the manifest.
Declaration
[IgnoreDataMember]
public string Source { get; set; }
Property Value
Type | Description |
---|---|
System.String | The source path. |
Remarks
Gets the full/absolute file path of the manifest, using system directory separators.
Stylesheets
Gets or sets the stylesheets listed in the manifest.
Declaration
[DataMember(Name = "css")]
public string[] Stylesheets { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | The stylesheets. |
Version
Gets or sets the version of the package.
Declaration
[DataMember(Name = "version")]
public string Version { get; set; }
Property Value
Type | Description |
---|---|
System.String | The version of the package. |
VersionAssemblyName
Gets or sets the assembly name to get the package version from.
Declaration
[DataMember(Name = "versionAssemblyName")]
public string VersionAssemblyName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The assembly name to get the package version from. |