Class PackageInfo
The PackageInfo class represents a single Installer Package.
Inherited Members
Namespace: DotNetNuke.Services.Installer.Packages
Assembly: DotNetNuke.dll
Syntax
public class PackageInfo : BaseEntityInfo
Constructors
| Improve this Doc View SourcePackageInfo()
Initializes a new instance of the PackageInfo class.
Declaration
public PackageInfo()
PackageInfo(InstallerInfo)
Initializes a new instance of the PackageInfo class.
Declaration
public PackageInfo(InstallerInfo info)
Parameters
Type | Name | Description |
---|---|---|
InstallerInfo | info |
Properties
| Improve this Doc View SourceDependencies
Gets the direct dependencies of this package.
Declaration
public IList<PackageDependencyInfo> Dependencies { get; }
Property Value
Type | Description |
---|---|
IList<PackageDependencyInfo> |
Description
Gets or sets the Description of this package.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Gets or sets the Email for this package.
Declaration
public string Email { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FileName
Gets or sets the FileName of this package.
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Files
Gets a Dictionary of Files that are included in the Package.
Declaration
public Dictionary<string, InstallFile> Files { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, InstallFile> |
FolderName
Gets or sets the name (path) of the folder where the package is installed.
Declaration
public string FolderName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FriendlyName
Gets or sets the Friendly Name of this package.
Declaration
public string FriendlyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IconFile
Gets or sets the URL for the icon for the package.
Declaration
public string IconFile { get; set; }
Property Value
Type | Description |
---|---|
System.String |
InstalledVersion
Gets or sets the Installed Version of the Package.
Declaration
public Version InstalledVersion { get; set; }
Property Value
Type | Description |
---|---|
Version |
InstallerInfo
Gets the associated InstallerInfo.
Declaration
public InstallerInfo InstallerInfo { get; }
Property Value
Type | Description |
---|---|
InstallerInfo |
InstallMode
Gets the InstallMode.
Declaration
public InstallMode InstallMode { get; }
Property Value
Type | Description |
---|---|
InstallMode |
IsSystemPackage
Gets or sets a value indicating whether this package is a "system" Package.
Declaration
public bool IsSystemPackage { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsValid
Gets a value indicating whether the Package is Valid.
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
License
Gets or sets the License of this package.
Declaration
public string License { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Log
Gets the Logger.
Declaration
public Logger Log { get; }
Property Value
Type | Description |
---|---|
Logger |
Manifest
Gets or sets the Manifest of this package.
Declaration
public string Manifest { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets the Name of this package.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Organization
Gets or sets the Organisation for this package.
Declaration
public string Organization { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Owner
Gets or sets the Owner of this package.
Declaration
public string Owner { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PackageID
Gets or sets the ID of this package.
Declaration
public int PackageID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PackageType
Gets or sets the Type of this package.
Declaration
public string PackageType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PortalID
Gets or sets the ID of this portal.
Declaration
public int PortalID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ReleaseNotes
Gets or sets the ReleaseNotes of this package.
Declaration
public string ReleaseNotes { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Url
Gets or sets the URL for this package.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Version
Gets or sets the Version of this package.
Declaration
public Version Version { get; set; }
Property Value
Type | Description |
---|---|
Version |
Methods
| Improve this Doc View SourceAttachInstallerInfo(InstallerInfo)
The AttachInstallerInfo method attaches an InstallerInfo instance to the Package.
Declaration
public void AttachInstallerInfo(InstallerInfo installer)
Parameters
Type | Name | Description |
---|---|---|
InstallerInfo | installer | The InstallerInfo instance to attach. |
Clone()
Clone current object.
Declaration
public PackageInfo Clone()
Returns
Type | Description |
---|---|
PackageInfo | A new PackageInfo instance. |