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 |
---|---|
TObject | instance |
Expression<Func<TObject, T1>> | ex1 |
Predicate<T1> | condition |
Time |
timeout |
Returns
Type |
---|
Task<T1> |
Type Parameters
Name |
---|
TObject |
T1 |