Microsoft.Bot.Builder.Luis.StrictEntityToType Class Reference
Inheritance diagram for Microsoft.Bot.Builder.Luis.StrictEntityToType:

Public Member Functions

 StrictEntityToType (IResolutionParser parser, ICalendarPlus calendar)

Static Public Member Functions

static IEnumerable< Range< DateTime > > Interpret (DateTimeResolution resolution, DateTime now, Calendar calendar, CalendarWeekRule rule, DayOfWeek firstDayOfWeek, Func< DayPart, int > HourFor)
 Interpret a parsed DateTimeResolution to provide a series of DateTime ranges More...

Detailed Description

Definition at line 70 of file EntityToType.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Luis.StrictEntityToType.StrictEntityToType ( IResolutionParser  parser,
ICalendarPlus  calendar 

Definition at line 75 of file EntityToType.cs.

Member Function Documentation

static IEnumerable<Range<DateTime> > Microsoft.Bot.Builder.Luis.StrictEntityToType.Interpret ( DateTimeResolution  resolution,
DateTime  now,
Calendar  calendar,
CalendarWeekRule  rule,
DayOfWeek  firstDayOfWeek,
Func< DayPart, int >  HourFor 

Interpret a parsed DateTimeResolution to provide a series of DateTime ranges

resolutionThe DateTimeResolution parsed from a LUIS response.
nowThe reference point of "now".
calendarThe calendar to use for date math.
ruleThe calendar week rule to use for date math.
firstDayOfWeekThe first day of the week to use for date math.
HourForThe hour that corresponds to the DayPart enumeration.
A potentially infinite series of DateTime ranges.

Definition at line 119 of file EntityToType.cs.

The documentation for this class was generated from the following file: