Table of Contents

Class CommandInfo

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

Represents the information about a command.

public abstract class CommandInfo : IEquatable<CommandInfo>
Inheritance
CommandInfo
Implements
Derived
Inherited Members

Properties

CommandIdentifier

Gets the unique identifier for this command within the scope of its protocol definition

public abstract string CommandIdentifier { get; }

Property Value

string

Methods

Equals(CommandInfo)

Determines whether this instance and another specified CommandInfo object have the same value.

public bool Equals(CommandInfo other)

Parameters

other CommandInfo

The CommandInfo to compare to this instance.

Returns

bool

true if the value of the other parameter is the same as this instance; otherwise, false. If other is null, the method returns false.

Equals(object)

Determines whether this instance and a specified object, which must also be a CommandInfo object, have the same value.

public override bool Equals(object obj)

Parameters

obj object

The CommandInfo to compare to this instance.

Returns

bool

true if obj is a CommandInfo and its value is the same as this instance; otherwise, false. If obj is null, the method returns false.

GetHashCode()

Returns the hash code for this CommandInfo object.

public override int GetHashCode()

Returns

int

A 32-bit signed integer hash code.

Operators

operator ==(CommandInfo, CommandInfo)

Determines whether two specified CommandInfo objects have the same value.

public static bool operator ==(CommandInfo left, CommandInfo right)

Parameters

left CommandInfo

The first CommandInfo object to compare.

right CommandInfo

The second CommandInfo object to compare.

Returns

bool

true if the value of left is the same as the value of right; otherwise, false.

operator !=(CommandInfo, CommandInfo)

Determines whether two specified CommandInfo objects have different values.

public static bool operator !=(CommandInfo left, CommandInfo right)

Parameters

left CommandInfo

The first CommandInfo object to compare.

right CommandInfo

The second CommandInfo object to compare.

Returns

bool

true if the value of left is different from the value of right; otherwise, false.