C# Класс Rock.Store.InstalledPackageService

Service class for the store category model.
Наследование: StoreServiceBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
SaveInstalledPackages ( List packages ) : void

Описание методов

GetInstalledPackages() публичный статический Метод

Gets the installed packages.
public static GetInstalledPackages ( ) : List
Результат List

InstalledPackageService() публичный Метод

Initializes a new instance of the Rock.Model.CategoryService class.
public InstalledPackageService ( ) : System
Результат System

InstalledPackageVersion() публичный статический Метод

Returns the installed package version.
public static InstalledPackageVersion ( int packageId ) : InstalledPackage
packageId int The package identifier.
Результат InstalledPackage

SaveInstall() публичный статический Метод

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.
Результат void