|
@@ -450,7 +450,7 @@ namespace Avalonia.Controls
|
|
/// resulting task will produce the <see cref="_dialogResult"/> value when the window
|
|
/// resulting task will produce the <see cref="_dialogResult"/> value when the window
|
|
/// is closed.
|
|
/// is closed.
|
|
/// </remarks>
|
|
/// </remarks>
|
|
- public void Close(object dialogResult)
|
|
|
|
|
|
+ public void Close(object? dialogResult)
|
|
{
|
|
{
|
|
_dialogResult = dialogResult;
|
|
_dialogResult = dialogResult;
|
|
CloseCore(WindowCloseReason.WindowClosing, true);
|
|
CloseCore(WindowCloseReason.WindowClosing, true);
|