Language

IEntityToType.TryMapToDateRanges メソッド

定義

LUIS EntityRecommendation インスタンスを現在と比較して、 DateTime 範囲のリストにマッピングしてみてください。

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

パラメーター

now
DateTime

現在の参照 DateTime。

entities
IEnumerable<EntityRecommendation>

関連しそうな EntityRecommendation 事例の一覧。

ranges
IEnumerable<Range<DateTime>>

出力 DateTime 範囲があります。

返品

マッピングが成功した可能性がある場合は真、そうでなければ偽です。

適用対象