DialogSet 클래스
정의
public class DialogSet
type DialogSet = class
Public Class DialogSet
- 상속
-
DialogSet
생성자
DialogSet() |
DialogSetNull을 사용 하 여 클래스의 새 인스턴스를 초기화 DialogState 합니다.Initializes a new instance of the DialogSet class with null DialogState. |
DialogSet(IStatePropertyAccessor<DialogState>) |
DialogSet 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the DialogSet class. |
속성
TelemetryClient |
로깅에 사용할를 가져오거나 설정 합니다 IBotTelemetryClient .Gets or sets the IBotTelemetryClient to use for logging. |
메서드
Add(Dialog) |
집합에 새 대화 상자를 추가 하 고 흐름 체인을 허용 하도록 집합을 반환 합니다.Adds a new dialog to the set and returns the set to allow fluent chaining. 추가 되는 Dialog.Id가 집합에 이미 있는 경우 대화 상자 Id는 고유 하 게 만드는 접미사를 포함 하도록 업데이트 됩니다.If the Dialog.Id being added already exists in the set, the dialogs id will be updated to include a suffix which makes it unique. 따라서 집합에 "duplicate" 이라는 두 개의 대화 상자를 추가 하면 id가 "duplicate"이 고 두 번째 대화 상자에 id가 "duplicate2" 인 두 개의 대화 상자가 생성 됩니다.So adding 2 dialogs named "duplicate" to the set would result in the first one having an id of "duplicate" and the second one having an id of "duplicate2". |
CreateContextAsync(ITurnContext, CancellationToken) |
DialogContext에서 대화를 사용 하는 데 사용할 수 있는를 만듭니다 DialogSet .Creates a DialogContext which can be used to work with the dialogs in the DialogSet. |
Find(String) |
현재에서 DialogSet Dialog 해당 ID를 검색 합니다.Searches the current DialogSet for a Dialog by its ID. |
GetDialogs() |
집합의 대화 상자를 가져옵니다.Gets the Dialogs of the set. |
GetVersion() |
이 dialogset에 있는 모든 대화 상자의 결합 된 버전을 나타내는 고유 문자열을 가져옵니다.Gets a unique string which represents the combined versions of all dialogs in this this dialogset. |