Share via


ComputerActionDrag Constructors

Definition

Overloads

ComputerActionDrag()

Source:
ComputerActionDrag.cs

Initializes a new instance of ComputerActionDrag for deserialization.

public ComputerActionDrag();
Public Sub New ()

Applies to

ComputerActionDrag(IEnumerable<Coordinate>)

Source:
ComputerActionDrag.cs

Initializes a new instance of ComputerActionDrag.

public ComputerActionDrag(System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Contracts.Generated.OpenAI.Coordinate> path);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionDrag : seq<Azure.AI.AgentServer.Contracts.Generated.OpenAI.Coordinate> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionDrag
Public Sub New (path As IEnumerable(Of Coordinate))

Parameters

path
IEnumerable<Coordinate>

An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg

[
  { x: 100, y: 200 },
  { x: 200, y: 300 }
]

Exceptions

path is null.

Applies to

ComputerActionDrag(ComputerActionType, IDictionary<String,BinaryData>, IList<Coordinate>)

Source:
ComputerActionDrag.cs

Initializes a new instance of ComputerActionDrag.

public ComputerActionDrag(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, System.Collections.Generic.IList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.Coordinate> path);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionDrag : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionType * System.Collections.Generic.IDictionary<string, BinaryData> * System.Collections.Generic.IList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.Coordinate> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ComputerActionDrag
Public Sub New (type As ComputerActionType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), path As IList(Of Coordinate))

Parameters

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

path
IList<Coordinate>

An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg

[
  { x: 100, y: 200 },
  { x: 200, y: 300 }
]

Applies to