StrictEntityToType.Interpret メソッド

定義

解析されたDateTimeResolutionを解釈して、一連のDateTime範囲を提供します

public static System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Internals.Fibers.Range<DateTime>> Interpret(Microsoft.Bot.Builder.Luis.BuiltIn.DateTime.DateTimeResolution resolution, DateTime now, System.Globalization.Calendar calendar, System.Globalization.CalendarWeekRule rule, DayOfWeek firstDayOfWeek, Func<Microsoft.Bot.Builder.Luis.BuiltIn.DateTime.DayPart,int> HourFor);
static member Interpret : Microsoft.Bot.Builder.Luis.BuiltIn.DateTime.DateTimeResolution * DateTime * System.Globalization.Calendar * System.Globalization.CalendarWeekRule * DayOfWeek * Func<Microsoft.Bot.Builder.Luis.BuiltIn.DateTime.DayPart, int> -> seq<Microsoft.Bot.Builder.Internals.Fibers.Range<DateTime>>
Public Shared Iterator Function Interpret (resolution As BuiltIn.DateTime.DateTimeResolution, now As DateTime, calendar As Calendar, rule As CalendarWeekRule, firstDayOfWeek As DayOfWeek, HourFor As Func(Of BuiltIn.DateTime.DayPart, Integer)) As IEnumerable(Of Range(Of DateTime))

パラメーター

resolution
BuiltIn.DateTime.DateTimeResolution

LUIS応答から解析されたDateTimeResolutionです。

now
DateTime

「今」という基準点。

calendar
Calendar

日付計算に使うカレンダー。

rule
CalendarWeekRule

日付計算に使う暦週ルール。

firstDayOfWeek
DayOfWeek

日付計算で使う曜日の最初の日。

HourFor
Func<BuiltIn.DateTime.DayPart,Int32>

BuiltIn.DateTime.DayPart列挙に対応する時間です。

返品

無限に続く可能性のあるDateTimeの範囲。

適用対象