C# Class Rock.Store.InstalledPackageService

Service class for the store category model.
Inheritance: StoreServiceBase
Mostra file Open project: NewSpring/Rock

Public Methods

Method Description
GetInstalledPackages ( ) : List

Gets the installed packages.

InstalledPackageService ( ) : System

Initializes a new instance of the Rock.Model.CategoryService class.

InstalledPackageVersion ( int packageId ) : InstalledPackage

Returns the installed package version.

SaveInstall ( int packageId, string packageName, int versionId, string versionLabel, int vendorId, string vendorName, string installedBy ) : void

Logs that an install occurred.

Private Methods

Method Description
SaveInstalledPackages ( List packages ) : void

Method Details

GetInstalledPackages() public static method

Gets the installed packages.
public static GetInstalledPackages ( ) : List
return List

InstalledPackageService() public method

Initializes a new instance of the Rock.Model.CategoryService class.
public InstalledPackageService ( ) : System
return System

InstalledPackageVersion() public static method

Returns the installed package version.
public static InstalledPackageVersion ( int packageId ) : InstalledPackage
packageId int The package identifier.
return InstalledPackage

SaveInstall() public static method

Logs that an install occurred.
public static SaveInstall ( int packageId, string packageName, int versionId, string versionLabel, int vendorId, string vendorName, string installedBy ) : void
packageId int The package identifier.
packageName string Name of the package.
versionId int The package version identifier.
versionLabel string The version label.
vendorId int The vendor identifier.
vendorName string Name of the vendor.
installedBy string The installed by.
return void