mirror of
https://github.com/oMaN-Rod/nxDumpFuse.git
synced 2024-12-08 01:32:07 +00:00
17 lines
435 B
C#
17 lines
435 B
C#
using Avalonia;
|
|
using Avalonia.Controls;
|
|
using Avalonia.Controls.ApplicationLifetimes;
|
|
using nxDumpFuse.ViewModels.Interfaces;
|
|
|
|
namespace nxDumpFuse
|
|
{
|
|
public class MainWindowProvider : IMainWindowProvider
|
|
{
|
|
public Window GetMainWindow()
|
|
{
|
|
var lifetime = (IClassicDesktopStyleApplicationLifetime) Application.Current.ApplicationLifetime;
|
|
|
|
return lifetime.MainWindow;
|
|
}
|
|
}
|
|
}
|