Extensions.AddHeroCard<T> 메서드

정의

옵션에서 단추를 생성하고 메시지에 추가합니다.

public static void AddHeroCard<T> (this Microsoft.Bot.Connector.IMessageActivity message, string text, System.Collections.Generic.IEnumerable<T> options, System.Collections.Generic.IEnumerable<string> descriptions = default);
static member AddHeroCard : Microsoft.Bot.Connector.IMessageActivity * string * seq<'T> * seq<string> -> unit
<Extension()>
Public Sub AddHeroCard(Of T) (message As IMessageActivity, text As String, options As IEnumerable(Of T), Optional descriptions As IEnumerable(Of String) = Nothing)

형식 매개 변수

T

옵션의 유형입니다.

매개 변수

message
IMessageActivity

단추가 추가될 메시지입니다.

text
String

HeroCard의 텍스트입니다.

options
IEnumerable<T>

단추 생성을 유발하는 옵션입니다.

descriptions
IEnumerable<String>

각 옵션에 대한 설명입니다.

설명

T 는 ToString()을 구현해야 합니다.

적용 대상