src/Windows/PresentationFoundation/0/src/Extensions/WindowExtensions.cs
/// <summary>
/// Shows the dialog after calling <see cref="Task.Yield"/>.
/// </summary>
/// <param name="window"></param>
/// <returns></returns>
Shows the dialog after calling .
Shows the dialog after calling .
public static async Task<bool?> ShowDialogAsync(this Window window)
        {
            await Task.Yield();
            return window.ShowDialog();
        }
public static async Task < bool ? > ShowDialogAsync ( this Window window ) { await Task . Yield ( ) ; return window . ShowDialog ( ) ; }
Shows the dialog after calling .
Shows the dialog after calling .
None
Window
this
window
None