共用方式為


AwaitableFromSource<TSource,TItem> 建構函式

定義

public AwaitableFromSource (TSource source, Func<TSource,System.Threading.Tasks.Task<TItem>> resolver);
new Microsoft.Bot.Builder.Dialogs.AwaitableFromSource<'Source, 'Item> : 'Source * Func<'Source, System.Threading.Tasks.Task<'Item>> -> Microsoft.Bot.Builder.Dialogs.AwaitableFromSource<'Source, 'Item>
Public Sub New (source As TSource, resolver As Func(Of TSource, Task(Of TItem)))

參數

source
TSource
resolver
Func<TSource,Task<TItem>>

適用於