EventCallbackFactory.CreateInferred 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
CreateInferred<TValue>(Object, Action<TValue>, TValue) |
EventCallback為提供的 |
CreateInferred<TValue>(Object, Func<TValue,Task>, TValue) |
EventCallback為提供的 |
CreateInferred<TValue>(Object, Action<TValue>, TValue)
EventCallback為提供的 receiver
和 callback
建立 。 僅供內部架構使用。
public:
generic <typename TValue>
Microsoft::AspNetCore::Components::EventCallback<TValue> CreateInferred(System::Object ^ receiver, Action<TValue> ^ callback, TValue value);
public Microsoft.AspNetCore.Components.EventCallback<TValue> CreateInferred<TValue> (object receiver, Action<TValue> callback, TValue value);
member this.CreateInferred : obj * Action<'Value> * 'Value -> Microsoft.AspNetCore.Components.EventCallback<'Value>
Public Function CreateInferred(Of TValue) (receiver As Object, callback As Action(Of TValue), value As TValue) As EventCallback(Of TValue)
類型參數
- TValue
參數
- receiver
- Object
- callback
- Action<TValue>
- value
- TValue
傳回
適用於
CreateInferred<TValue>(Object, Func<TValue,Task>, TValue)
EventCallback為提供的 receiver
和 callback
建立 。 僅供內部架構使用。
public:
generic <typename TValue>
Microsoft::AspNetCore::Components::EventCallback<TValue> CreateInferred(System::Object ^ receiver, Func<TValue, System::Threading::Tasks::Task ^> ^ callback, TValue value);
public Microsoft.AspNetCore.Components.EventCallback<TValue> CreateInferred<TValue> (object receiver, Func<TValue,System.Threading.Tasks.Task> callback, TValue value);
member this.CreateInferred : obj * Func<'Value, System.Threading.Tasks.Task> * 'Value -> Microsoft.AspNetCore.Components.EventCallback<'Value>
Public Function CreateInferred(Of TValue) (receiver As Object, callback As Func(Of TValue, Task), value As TValue) As EventCallback(Of TValue)
類型參數
- TValue
參數
- receiver
- Object
- value
- TValue