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

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

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

Метод Описание
AuthenicateUser ( string username, string password ) : bool

Authenicates the user.

AuthenicateUser ( string username, string password, string &errorResponse ) : bool

Authenicates the user.

GetOrganizationKey ( ) : string

Gets the organization key.

OrganizationIsConfigured ( ) : bool

Organizations the is configured.

Purchase ( string username, string password, int packageId, string &errorResponse ) : PurchaseResponse

Purchases the specified username.

StoreService ( ) : System

Initializes a new instance of the StoreService class.

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

AuthenicateUser() публичный метод

Authenicates the user.
public AuthenicateUser ( string username, string password ) : bool
username string The username.
password string The password.
Результат bool

AuthenicateUser() публичный метод

Authenicates the user.
public AuthenicateUser ( string username, string password, string &errorResponse ) : bool
username string The username.
password string The password.
errorResponse string The error response.
Результат bool

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

Gets the organization key.
public static GetOrganizationKey ( ) : string
Результат string

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

Organizations the is configured.
public static OrganizationIsConfigured ( ) : bool
Результат bool

Purchase() публичный метод

Purchases the specified username.
public Purchase ( string username, string password, int packageId, string &errorResponse ) : PurchaseResponse
username string The username.
password string The password.
packageId int The package identifier.
errorResponse string The error response.
Результат PurchaseResponse

StoreService() публичный метод

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