整理控件库
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
|
||||
|
||||
|
||||
using WPFluent.Controls;
|
||||
|
||||
using System.Windows.Controls;
|
||||
|
||||
using WPFluent.Controls;
|
||||
|
||||
namespace WPFluent.Extensions;
|
||||
|
||||
public static class ContentDialogServiceExtensions
|
||||
@@ -14,7 +15,7 @@ public static class ContentDialogServiceExtensions
|
||||
/// </summary>
|
||||
/// <returns>Result of the life cycle of the <see cref="ContentDialog"/>.</returns>
|
||||
public static Task<ContentDialogResult> ShowAlertAsync(
|
||||
this IContentDialogService dialogService,
|
||||
this ContentDialogService dialogService,
|
||||
string title,
|
||||
string message,
|
||||
string closeButtonText,
|
||||
@@ -37,8 +38,8 @@ public static class ContentDialogServiceExtensions
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Result of the life cycle of the <see cref="ContentDialog"/>.</returns>
|
||||
public static Task<ContentDialogResult> ShowSimpleDialogAsync(
|
||||
this IContentDialogService dialogService,
|
||||
SimpleContentDialogCreateOptions options,
|
||||
this ContentDialogService dialogService,
|
||||
SimpleContentDialogOptions options,
|
||||
CancellationToken cancellationToken = default)
|
||||
{
|
||||
var dialog = new ContentDialog()
|
||||
|
||||
Reference in New Issue
Block a user