Class NotifyPropertyChangedExtensions
Extension methods for INotifyPropertyChanged
Inherited Members
Namespace: VaraniumSharp.Extensions
Assembly: VaraniumSharp.dll
Syntax
public static class NotifyPropertyChangedExtensions
Methods
| Improve this Doc View SourceBlockUntil(INotifyPropertyChanged)
Returns a task that can be blocked against until a specific property changes. The property or properties should be marked with BlockingPropertyAttribute otherwise a completed task will be returned immediately.
Declaration
public static Task<bool> BlockUntil(this INotifyPropertyChanged self)
Parameters
Type | Name | Description |
---|---|---|
INotifyPropertyChanged | self | Class instance that contains the properties |
Returns
Type | Description |
---|---|
Task<Boolean> | Task that can be awaited until the decorated properties change |