mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
WPF: Fix build
This commit is contained in:
parent
b09aca1bee
commit
3e3cb142fd
|
@ -12,7 +12,7 @@
|
|||
xmlns:local="clr-namespace:BililiveRecorder.WPF.Pages"
|
||||
xmlns:model="clr-namespace:BililiveRecorder.WPF.Models"
|
||||
xmlns:c="clr-namespace:BililiveRecorder.WPF.Converters"
|
||||
xmlns:t="clr-namespace:BililiveRecorder.ToolBox.Commands;assembly=BililiveRecorder.ToolBox"
|
||||
xmlns:t="clr-namespace:BililiveRecorder.ToolBox.Tool.Analyze;assembly=BililiveRecorder.ToolBox"
|
||||
xmlns:tr="clr-namespace:BililiveRecorder.ToolBox.ProcessingRules;assembly=BililiveRecorder.ToolBox"
|
||||
mc:Ignorable="d" DataContext="{x:Null}"
|
||||
d:DesignHeight="600" d:DesignWidth="900"
|
||||
|
|
|
@ -4,7 +4,9 @@ using System.Threading;
|
|||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using BililiveRecorder.ToolBox;
|
||||
using BililiveRecorder.ToolBox.Commands;
|
||||
using BililiveRecorder.ToolBox.Tool.Analyze;
|
||||
using BililiveRecorder.ToolBox.Tool.Export;
|
||||
using BililiveRecorder.ToolBox.Tool.Fix;
|
||||
using BililiveRecorder.WPF.Controls;
|
||||
using Microsoft.WindowsAPICodePack.Dialogs;
|
||||
using Serilog;
|
||||
|
@ -141,7 +143,7 @@ namespace BililiveRecorder.WPF.Pages
|
|||
}
|
||||
}
|
||||
|
||||
private static void ShowErrorMessageBox<T>(CommandResponse<T> resp) where T : class
|
||||
private static void ShowErrorMessageBox<T>(CommandResponse<T> resp) where T : IResponseData
|
||||
{
|
||||
var title = LocExtension.GetLocalizedValue<string>("BililiveRecorder.WPF:Strings:Toolbox_AutoFix_Error_Title");
|
||||
var type = LocExtension.GetLocalizedValue<string>("BililiveRecorder.WPF:Strings:Toolbox_AutoFix_Error_Type_" + resp.Status.ToString());
|
||||
|
@ -199,7 +201,7 @@ namespace BililiveRecorder.WPF.Pages
|
|||
}
|
||||
else
|
||||
{
|
||||
this.analyzeResultDisplayArea.DataContext = resp.Result;
|
||||
this.analyzeResultDisplayArea.DataContext = resp.Data;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user