mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
19 lines
512 B
C#
19 lines
512 B
C#
using Avalonia.Controls.Mixins;
|
|
using Avalonia.ReactiveUI;
|
|
using ReactiveUI;
|
|
using Wabbajack.App.Utilities;
|
|
|
|
namespace Wabbajack.App.Controls;
|
|
|
|
public partial class LogViewItem : ReactiveUserControl<LoggerProvider.ILogMessage>, IActivatableView
|
|
{
|
|
public LogViewItem()
|
|
{
|
|
InitializeComponent();
|
|
this.WhenActivated(disposables =>
|
|
{
|
|
this.OneWayBind(ViewModel, vm => vm.ShortMessage, view => view.Message.Text)
|
|
.DisposeWith(disposables);
|
|
});
|
|
}
|
|
} |