去除编译警告,纠正注释

pull/612/head
leiurayer 2 years ago
parent 2afa3f96d6
commit 15c31ee6b8

@ -10,7 +10,7 @@ namespace DownKyi.ViewModels
public class BaseViewModel : BindableBase, INavigationAware
{
protected readonly IEventAggregator eventAggregator;
protected readonly IDialogService dialogService;
protected IDialogService dialogService;
protected string ParentView = string.Empty;
public BaseViewModel(IEventAggregator eventAggregator)

@ -60,7 +60,7 @@ namespace DownKyi.ViewModels.Settings
}
/// <summary>
/// 导航到VideoDetail页面时执行
/// 导航到页面时执行
/// </summary>
/// <param name="navigationContext"></param>
public override void OnNavigatedTo(NavigationContext navigationContext)

@ -95,7 +95,7 @@ namespace DownKyi.ViewModels.Settings
}
/// <summary>
/// 导航到VideoDetail页面时执行
/// 导航到页面时执行
/// </summary>
/// <param name="navigationContext"></param>
public override void OnNavigatedTo(NavigationContext navigationContext)

@ -115,7 +115,7 @@ namespace DownKyi.ViewModels.Settings
}
/// <summary>
/// 导航到VideoDetail页面时执行
/// 导航到页面时执行
/// </summary>
/// <param name="navigationContext"></param>
public override void OnNavigatedTo(NavigationContext navigationContext)

@ -246,7 +246,7 @@ namespace DownKyi.ViewModels.Settings
}
/// <summary>
/// 导航到VideoDetail页面时执行
/// 导航到页面时执行
/// </summary>
/// <param name="navigationContext"></param>
public override void OnNavigatedTo(NavigationContext navigationContext)

@ -28,8 +28,6 @@ namespace DownKyi.ViewModels
{
public const string Tag = "PageChannel";
private readonly IDialogService dialogService;
private CancellationTokenSource tokenSource;
private long mid = -1;
@ -434,7 +432,7 @@ namespace DownKyi.ViewModels
}
/// <summary>
/// 导航到VideoDetail页面时执行
/// 导航到页面时执行
/// </summary>
/// <param name="navigationContext"></param>
public override void OnNavigatedTo(NavigationContext navigationContext)

@ -109,7 +109,7 @@ namespace DownKyi.ViewModels
#endregion
/// <summary>
/// 导航到VideoDetail页面时执行
/// 导航到页面时执行
/// </summary>
/// <param name="navigationContext"></param>
public override void OnNavigatedTo(NavigationContext navigationContext)

@ -27,8 +27,6 @@ namespace DownKyi.ViewModels
{
public const string Tag = "PageMyBangumiFollow";
private readonly IDialogService dialogService;
private CancellationTokenSource tokenSource;
private long mid = -1;
@ -511,7 +509,7 @@ namespace DownKyi.ViewModels
}
/// <summary>
/// 导航到VideoDetail页面时执行
/// 导航到页面时执行
/// </summary>
/// <param name="navigationContext"></param>
public override void OnNavigatedTo(NavigationContext navigationContext)

@ -26,7 +26,7 @@ namespace DownKyi.ViewModels
{
public const string Tag = "PageMyFavorites";
private readonly IDialogService dialogService;
//private readonly IDialogService dialogService;
private CancellationTokenSource tokenSource1;
private CancellationTokenSource tokenSource2;
@ -87,7 +87,6 @@ namespace DownKyi.ViewModels
set => SetProperty(ref mediaContentVisibility, value);
}
private Visibility mediaLoadingVisibility;
public Visibility MediaLoadingVisibility
{
@ -477,7 +476,7 @@ namespace DownKyi.ViewModels
}
/// <summary>
/// 导航到VideoDetail页面时执行
/// 导航到页面时执行
/// </summary>
/// <param name="navigationContext"></param>
public override async void OnNavigatedTo(NavigationContext navigationContext)

@ -28,8 +28,6 @@ namespace DownKyi.ViewModels
{
public const string Tag = "PageMyHistory";
private readonly IDialogService dialogService;
private CancellationTokenSource tokenSource;
// 每页视频数量,暂时在此写死,以后在设置中增加选项
@ -504,7 +502,7 @@ namespace DownKyi.ViewModels
}
/// <summary>
/// 导航到VideoDetail页面时执行
/// 导航到页面时执行
/// </summary>
/// <param name="navigationContext"></param>
public override void OnNavigatedTo(NavigationContext navigationContext)

@ -27,8 +27,6 @@ namespace DownKyi.ViewModels
{
public const string Tag = "PageMyToView";
private readonly IDialogService dialogService;
private CancellationTokenSource tokenSource;
#region 页面属性申明
@ -400,7 +398,7 @@ namespace DownKyi.ViewModels
}
/// <summary>
/// 导航到VideoDetail页面时执行
/// 导航到页面时执行
/// </summary>
/// <param name="navigationContext"></param>
public override void OnNavigatedTo(NavigationContext navigationContext)

@ -26,8 +26,6 @@ namespace DownKyi.ViewModels
{
public const string Tag = "PagePublicFavorites";
private readonly IDialogService dialogService;
private CancellationTokenSource tokenSource;
#region 页面属性申明

@ -29,8 +29,6 @@ namespace DownKyi.ViewModels
{
public const string Tag = "PagePublication";
private readonly IDialogService dialogService;
private CancellationTokenSource tokenSource;
private long mid = -1;
@ -487,7 +485,7 @@ namespace DownKyi.ViewModels
}
/// <summary>
/// 导航到VideoDetail页面时执行
/// 导航到页面时执行
/// </summary>
/// <param name="navigationContext"></param>
public override void OnNavigatedTo(NavigationContext navigationContext)

@ -28,8 +28,6 @@ namespace DownKyi.ViewModels
{
public const string Tag = "PageSeasonsSeries";
private readonly IDialogService dialogService;
private CancellationTokenSource tokenSource;
private long mid = -1;

@ -121,7 +121,7 @@ namespace DownKyi.ViewModels
#endregion
/// <summary>
/// 导航到VideoDetail页面时执行
/// 导航到页面时执行
/// </summary>
/// <param name="navigationContext"></param>
public override void OnNavigatedTo(NavigationContext navigationContext)

@ -112,7 +112,7 @@ namespace DownKyi.ViewModels
#endregion
/// <summary>
/// 导航到VideoDetail页面时执行
/// 导航到页面时执行
/// </summary>
/// <param name="navigationContext"></param>
public override void OnNavigatedTo(NavigationContext navigationContext)

@ -739,7 +739,7 @@ namespace DownKyi.ViewModels
#endregion
/// <summary>
/// 导航到VideoDetail页面时执行
/// 导航到页面时执行
/// </summary>
/// <param name="navigationContext"></param>
public override void OnNavigatedTo(NavigationContext navigationContext)

Loading…
Cancel
Save