public FindContactDialogOptions( object options, FindContactReasonType findContactReason = FindContactReasonType.FirstFindContact, UpdateUserNameReasonType updateUserNameReason = UpdateUserNameReasonType.NotFound, bool promptMoreContact = true) { var calendarOptions = options as CalendarSkillDialogOptions; FindContactReason = findContactReason; UpdateUserNameReason = updateUserNameReason; PromptMoreContact = promptMoreContact; }
public FindContactDialogOptions( object options, FindContactReasonType findContactReason = FindContactReasonType.FirstFindContact, UpdateUserNameReasonType updateUserNameReason = UpdateUserNameReasonType.NotFound, bool promptMoreContact = true) { var calendarOptions = options as EmailSkillDialogOptions; FindContactReason = findContactReason; UpdateUserNameReason = updateUserNameReason; PromptMoreContact = promptMoreContact; SkillMode = calendarOptions == null ? false : calendarOptions.SkillMode; }
public FindContactDialogOptions( object options, FindContactReasonType findContactReason = FindContactReasonType.FirstFindContact, UpdateUserNameReasonType updateUserNameReason = UpdateUserNameReasonType.NotFound, bool promptMoreContact = true, bool firstRetry = true, string scenario = nameof(CreateEventDialog)) { var calendarOptions = options as CalendarSkillDialogOptions; FindContactReason = findContactReason; UpdateUserNameReason = updateUserNameReason; PromptMoreContact = promptMoreContact; FirstRetry = firstRetry; Scenario = scenario; }