/ src / modules / cmdpal / Microsoft.CmdPal.UI / Controls / FallbackRankerDialog.xaml.cs
FallbackRankerDialog.xaml.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  
 5  using System;
 6  using System.Collections.Generic;
 7  using System.IO;
 8  using System.Linq;
 9  using System.Runtime.InteropServices.WindowsRuntime;
10  using Microsoft.UI.Xaml;
11  using Microsoft.UI.Xaml.Controls;
12  using Microsoft.UI.Xaml.Controls.Primitives;
13  using Microsoft.UI.Xaml.Data;
14  using Microsoft.UI.Xaml.Input;
15  using Microsoft.UI.Xaml.Media;
16  using Microsoft.UI.Xaml.Navigation;
17  using Windows.Foundation;
18  using Windows.Foundation.Collections;
19  
20  namespace Microsoft.CmdPal.UI.Controls;
21  
22  public sealed partial class FallbackRankerDialog : UserControl
23  {
24      public FallbackRankerDialog()
25      {
26          InitializeComponent();
27      }
28  
29      public IAsyncOperation<ContentDialogResult> ShowAsync()
30      {
31          return FallbackRankerContentDialog!.ShowAsync()!;
32      }
33  }