Taal

IEntityToType.TryMapToDateRanges Methode

Definitie

Probeer LUIS-instanties EntityRecommendation toe te wijzen aan een lijst van DateTime bereiken, relatief tot nu.

public bool TryMapToDateRanges(DateTime now, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Luis.Models.EntityRecommendation> entities, out System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Internals.Fibers.Range<DateTime>> ranges);
abstract member TryMapToDateRanges : DateTime * seq<Microsoft.Bot.Builder.Luis.Models.EntityRecommendation> * seq -> bool
Public Function TryMapToDateRanges (now As DateTime, entities As IEnumerable(Of EntityRecommendation), ByRef ranges As IEnumerable(Of Range(Of DateTime))) As Boolean

Parameters

now
DateTime

De huidige referentie DateTime.

entities
IEnumerable<EntityRecommendation>

Een lijst van mogelijk relevante EntityRecommendation gevallen.

ranges
IEnumerable<Range<DateTime>>

De outputbereiken DateTime .

Retouren

Waar als de mapping succesvol was, anders onwaar.

Van toepassing op