21 lines
427 B
C#
21 lines
427 B
C#
using System;
|
|
using Avalonia;
|
|
using Avalonia.Controls;
|
|
using Avalonia.Markup.Xaml;
|
|
using Nebula.Launcher.Models;
|
|
using Nebula.Launcher.ViewModels;
|
|
|
|
namespace Nebula.Launcher.Views;
|
|
|
|
public partial class ExceptionView : UserControl
|
|
{
|
|
public ExceptionView()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public ExceptionView(Exception exception): this()
|
|
{
|
|
DataContext = new ExceptionCompound(exception);
|
|
}
|
|
} |