Table of Contents

Struct Command<TParameters, TResult>

Namespace
OpenQA.Selenium.BiDi
Assembly
Selenium.WebDriver.dll
public readonly record struct Command<TParameters, TResult> : IEquatable<Command<TParameters, TResult>> where TParameters : Parameters where TResult : EmptyResult

Type Parameters

TParameters
TResult
Implements
IEquatable<Command<TParameters, TResult>>
Inherited Members

Constructors

Command(string, JsonTypeInfo<TParameters>, JsonTypeInfo<TResult>)

public Command(string Method, JsonTypeInfo<TParameters> ParamsTypeInfo, JsonTypeInfo<TResult> ResultTypeInfo)

Parameters

Method string
ParamsTypeInfo JsonTypeInfo<TParameters>
ResultTypeInfo JsonTypeInfo<TResult>

Properties

Method

public string Method { get; init; }

Property Value

string

ParamsTypeInfo

public JsonTypeInfo<TParameters> ParamsTypeInfo { get; init; }

Property Value

JsonTypeInfo<TParameters>

ResultTypeInfo

public JsonTypeInfo<TResult> ResultTypeInfo { get; init; }

Property Value

JsonTypeInfo<TResult>