C# 클래스 OpenQA.Selenium.Remote.Server.CommandHandler

Represents the base class for all command handlers.
파일 보기 프로젝트 열기: jimevans/strontium

공개 메소드들

메소드 설명
Execute ( ) : object

Executes this command.

보호된 메소드들

메소드 설명
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.

메소드 상세

CommandHandler() 보호된 메소드

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.
리턴 System

Execute() 공개 추상적인 메소드

Executes this command.
public abstract Execute ( ) : object
리턴 object

GetCommandParameter() 보호된 메소드

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.
리턴 object

GetLocatorParameter() 보호된 메소드

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.
리턴 string

HasCommandParameter() 보호된 메소드

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.
리턴 bool