Skip to main content Skip to complementary content

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 null implies the default state.

Returns

Type Description
System.Threading.Tasks.Task<ISelectionObserver>

A selection observer instance.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!