• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class PackageInfo

The PackageInfo class represents a single Installer Package.

Inheritance
System.Object
BaseEntityInfo
PackageInfo
Inherited Members
BaseEntityInfo.CreatedByUserID
BaseEntityInfo.CreatedOnDate
BaseEntityInfo.LastModifiedByUserID
BaseEntityInfo.LastModifiedOnDate
BaseEntityInfo.CreatedByUser(Int32)
BaseEntityInfo.LastModifiedByUser(Int32)
BaseEntityInfo.FillInternal(IDataReader)
BaseEntityInfo.CloneBaseProperties(BaseEntityInfo, BaseEntityInfo)
Namespace: DotNetNuke.Services.Installer.Packages
Assembly: DotNetNuke.dll
Syntax
public class PackageInfo : BaseEntityInfo

Constructors

| Improve this Doc View Source

PackageInfo()

Initializes a new instance of the PackageInfo class.

Declaration
public PackageInfo()
| Improve this Doc View Source

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 Source

Dependencies

Gets the direct dependencies of this package.

Declaration
public IList<PackageDependencyInfo> Dependencies { get; }
Property Value
Type Description
IList<PackageDependencyInfo>
| Improve this Doc View Source

Description

Gets or sets the Description of this package.

Declaration
public string Description { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Email

Gets or sets the Email for this package.

Declaration
public string Email { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FileName

Gets or sets the FileName of this package.

Declaration
public string FileName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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>
| Improve this Doc View Source

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
| Improve this Doc View Source

FriendlyName

Gets or sets the Friendly Name of this package.

Declaration
public string FriendlyName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IconFile

Gets or sets the URL for the icon for the package.

Declaration
public string IconFile { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

InstalledVersion

Gets or sets the Installed Version of the Package.

Declaration
public Version InstalledVersion { get; set; }
Property Value
Type Description
Version
| Improve this Doc View Source

InstallerInfo

Gets the associated InstallerInfo.

Declaration
public InstallerInfo InstallerInfo { get; }
Property Value
Type Description
InstallerInfo
| Improve this Doc View Source

InstallMode

Gets the InstallMode.

Declaration
public InstallMode InstallMode { get; }
Property Value
Type Description
InstallMode
| Improve this Doc View Source

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
| Improve this Doc View Source

IsValid

Gets a value indicating whether the Package is Valid.

Declaration
public bool IsValid { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

License

Gets or sets the License of this package.

Declaration
public string License { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Log

Gets the Logger.

Declaration
public Logger Log { get; }
Property Value
Type Description
Logger
| Improve this Doc View Source

Manifest

Gets or sets the Manifest of this package.

Declaration
public string Manifest { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Name

Gets or sets the Name of this package.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Organization

Gets or sets the Organisation for this package.

Declaration
public string Organization { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Owner

Gets or sets the Owner of this package.

Declaration
public string Owner { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PackageID

Gets or sets the ID of this package.

Declaration
public int PackageID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PackageType

Gets or sets the Type of this package.

Declaration
public string PackageType { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PortalID

Gets or sets the ID of this portal.

Declaration
public int PortalID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ReleaseNotes

Gets or sets the ReleaseNotes of this package.

Declaration
public string ReleaseNotes { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Url

Gets or sets the URL for this package.

Declaration
public string Url { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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 Source

AttachInstallerInfo(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.

| Improve this Doc View Source

Clone()

Clone current object.

Declaration
public PackageInfo Clone()
Returns
Type Description
PackageInfo

A new PackageInfo instance.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS