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;
        }
Example #2
0
        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;
        }
Example #3
0
        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;
        }