C# Class OpenQA.Selenium.Remote.Server.CommandHandler

Represents the base class for all command handlers.
Afficher le fichier Open project: jimevans/strontium

Méthodes publiques

Méthode Description
Execute ( ) : object

Executes this command.

Méthodes protégées

Méthode Description
CommandHandler ( string>.Dictionary locatorParameters, object>.Dictionary commandParameters ) : System

Initializes a new instance of the CommandHandler class.

GetCommandParameter ( string parameterName ) : object

Gets a locator parameter from the set of parameters sent in the body of the request and used to operate on the resource.

GetLocatorParameter ( string parameterName ) : string

Gets a locator parameter from the set of parameters used to locate the resource via the URL.

HasCommandParameter ( string parameterName ) : bool

Gets a value indicating whether this command has a parameter in the set of parameters sent in the body of the request.

Method Details

CommandHandler() protected méthode

Initializes a new instance of the CommandHandler class.
protected CommandHandler ( string>.Dictionary locatorParameters, object>.Dictionary commandParameters ) : System
locatorParameters string>.Dictionary A containing the parameters used to match a resource in the URL.
commandParameters object>.Dictionary A containing the parameters used to operate on the resource.
Résultat System

Execute() public abstract méthode

Executes this command.
public abstract Execute ( ) : object
Résultat object

GetCommandParameter() protected méthode

Gets a locator parameter from the set of parameters sent in the body of the request and used to operate on the resource.
Thrown if the parameter is not found in the dictionary of parameters.
protected GetCommandParameter ( string parameterName ) : object
parameterName string The name of the parameter to get the value of.
Résultat object

GetLocatorParameter() protected méthode

Gets a locator parameter from the set of parameters used to locate the resource via the URL.
Thrown if the parameter is not found in the dictionary of parameters.
protected GetLocatorParameter ( string parameterName ) : string
parameterName string The name of the parameter to get the value of.
Résultat string

HasCommandParameter() protected méthode

Gets a value indicating whether this command has a parameter in the set of parameters sent in the body of the request.
protected HasCommandParameter ( string parameterName ) : bool
parameterName string The name of the parameter to query the existence of.
Résultat bool