GetSelectionObserverAsync Method
Overloads
| GetSelectionObserverAsync(IApp, String) |
Get a selection observer instance. |
GetSelectionObserverAsync(IApp, String)
Get a selection observer instance.
Declaration
public static Task<ISelectionObserver> GetSelectionObserverAsync(this IApp app, string stateName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IApp | app |
The app for which to observe selections. |
| System.String | stateName |
The name of the selection state to observe. The value |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ISelectionObserver> |
A selection observer instance. |