C# Class Rock.Store.StoreService

Service class for the store category model.
Inheritance: StoreServiceBase
Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

AuthenicateUser() public méthode

Authenicates the user.
public AuthenicateUser ( string username, string password ) : bool
username string The username.
password string The password.
Résultat bool

AuthenicateUser() public méthode

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.
Résultat bool

GetOrganizationKey() public static méthode

Gets the organization key.
public static GetOrganizationKey ( ) : string
Résultat string

OrganizationIsConfigured() public static méthode

Organizations the is configured.
public static OrganizationIsConfigured ( ) : bool
Résultat bool

Purchase() public méthode

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.
Résultat PurchaseResponse

StoreService() public méthode

Initializes a new instance of the StoreService class.
public StoreService ( ) : System
Résultat System