ComputerActionDrag Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ComputerActionDrag() |
Initializes a new instance of ComputerActionDrag for deserialization. |
| ComputerActionDrag(IEnumerable<Coordinate>) |
Initializes a new instance of ComputerActionDrag. |
| ComputerActionDrag(ComputerActionType, IDictionary<String,BinaryData>, IList<Coordinate>) |
Initializes a new instance of ComputerActionDrag. |
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
- type
- ComputerActionType
- 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 }
]