Delen via


IArrayItemCommand.IsEnabledAsync Method

Definition

Computes whether the command should be enabled for the item represented by arrayItemContent. Each key in arrayItemContent matches a property defined in the array setting, and the corresponding value is the current value of that property.

public System.Threading.Tasks.Task<bool> IsEnabledAsync (System.Collections.Generic.IDictionary<string,object> arrayItemContent, System.Threading.CancellationToken cancellationToken);
abstract member IsEnabledAsync : System.Collections.Generic.IDictionary<string, obj> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function IsEnabledAsync (arrayItemContent As IDictionary(Of String, Object), cancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

arrayItemContent
IDictionary<String,Object>
cancellationToken
CancellationToken

Returns

Applies to