C# Class FiftyOne.Foundation.UI.Web.BaseDataControl

Base control used to include common methods shared between activation with a licence key and uploading a data file.
Inheritance: BaseUserControl
Afficher le fichier Open project: 51Degrees/dotNET-Device-Detection

Méthodes protégées

Méthode Description
Execute ( Stream stream ) : ActivityResult

Activates the data stream.

Execute ( string licenceKey ) : ActivityResult

Activates the licence key and updates the user interface with the results.

Private Methods

Méthode Description
ProcessResult ( LicenceKeyResults result ) : ActivityResult

Creates the activity results object with the correct information for use by a UI.

Method Details

Execute() protected méthode

Activates the data stream.
protected Execute ( Stream stream ) : ActivityResult
stream Stream Stream being uploaded.
Résultat ActivityResult

Execute() protected méthode

Activates the licence key and updates the user interface with the results.
protected Execute ( string licenceKey ) : ActivityResult
licenceKey string The licence key to try activating.
Résultat ActivityResult