Files
jdescopingtool/NEW/src/Utils/JdeScoping.ConfigManager.Ui/Views/Dialogs/DiffPreviewDialog.axaml.cs
T
Joseph Doherty 1fc7792cd1 refactor(configmanager): rename UI project and split test projects
Rename ConfigManager to ConfigManager.Ui to match the Core/CLI/UI project
structure, and split the monolithic test project into Core.Tests,
Cli.Tests, and Ui.Tests to align with the source project organization.
2026-01-28 10:24:36 -05:00

26 lines
779 B
C#

using Avalonia.Controls;
using JdeScoping.ConfigManager.Ui.ViewModels.Dialogs;
namespace JdeScoping.ConfigManager.Ui.Views.Dialogs;
public partial class DiffPreviewDialog : Window
{
/// <summary>
/// Initializes a new instance of the <see cref="DiffPreviewDialog"/> class.
/// </summary>
public DiffPreviewDialog()
{
InitializeComponent();
}
/// <summary>
/// Initializes a new instance of the <see cref="DiffPreviewDialog"/> class with a view model.
/// </summary>
/// <param name="viewModel">The view model to bind to the dialog.</param>
public DiffPreviewDialog(DiffPreviewDialogViewModel viewModel) : this()
{
DataContext = viewModel;
viewModel.RequestClose = Close;
}
}