次の方法で共有


PersistentAgentsModelFactory.KeyPressAction(IEnumerable<String>) Method

Definition

Initializes a new instance of KeyPressAction.

public static Azure.AI.Agents.Persistent.KeyPressAction KeyPressAction(System.Collections.Generic.IEnumerable<string> keys = default);
static member KeyPressAction : seq<string> -> Azure.AI.Agents.Persistent.KeyPressAction
Public Shared Function KeyPressAction (Optional keys As IEnumerable(Of String) = Nothing) As KeyPressAction

Parameters

keys
IEnumerable<String>

The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key.

Returns

A new KeyPressAction instance for mocking.

Applies to