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
Datei anzeigen Open project: 51Degrees/dotNET-Device-Detection

Protected Methods

Method 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

Method Description
ProcessResult ( LicenceKeyResults result ) : ActivityResult

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

Method Details

Execute() protected method

Activates the data stream.
protected Execute ( Stream stream ) : ActivityResult
stream Stream Stream being uploaded.
return ActivityResult

Execute() protected method

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.
return ActivityResult