StrictEntityToType.Interpret(BuiltIn+DateTime+DateTimeResolution, DateTime, Calendar, CalendarWeekRule, DayOfWeek, Func<BuiltIn.DateTime,Int32>) 메서드

정의

일련의 DateTime 범위를 제공 하기 위해 구문 분석 된 DateTimeResolution 해석Interpret a parsed DateTimeResolution to provide a series of DateTime ranges

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.Bot.Builder.Luis.StrictEntityToType/<Interpret>d__5))]
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);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.Bot.Builder.Luis.StrictEntityToType/<Interpret>d__5))>]
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입니다.The DateTimeResolution parsed from a LUIS response.

now
DateTime

"Now"의 참조 지점입니다.The reference point of "now".

calendar
Calendar

날짜 계산에 사용할 달력입니다.The calendar to use for date math.

rule
CalendarWeekRule

날짜 계산에 사용할 달력 주 규칙입니다.The calendar week rule to use for date math.

firstDayOfWeek
DayOfWeek

날짜 계산에 사용할 첫 번째 요일입니다.The first day of the week to use for date math.

HourFor
Func<BuiltIn.DateTime.DayPart,Int32>

열거형에 해당 하는 시간입니다 BuiltIn.DateTime.DayPart .The hour that corresponds to the BuiltIn.DateTime.DayPart enumeration.

반환

IEnumerable<Range<DateTime>>

잠재적으로 무한 한 일련의 DateTime 범위A potentially infinite series of DateTime ranges.

특성

적용 대상