Method WaitForValueAsync
WaitForValueAsync<TObject, T1>(TObject, Expression<Func<TObject, T1>>, Predicate<T1>, TimeSpan)
Declaration
public static Task<T1> WaitForValueAsync<TObject, T1>(this TObject instance, Expression<Func<TObject, T1>> ex1, Predicate<T1> condition, TimeSpan timeout) where TObject : INotifyPropertyChanged
Parameters
Type | Name | Description |
---|---|---|
TObject | instance | |
Expression<Func<TObject, T1>> | ex1 | |
Predicate<T1> | condition | |
TimeSpan | timeout |
Returns
Type | Description |
---|---|
Task<T1> |
Type Parameters
Name | Description |
---|---|
TObject | |
T1 |