diff options
author | Scott <[email protected]> | 2015-09-26 21:10:52 +0100 |
---|---|---|
committer | Scott <[email protected]> | 2015-09-26 21:30:33 +0100 |
commit | a6cf5c5fd4b4c23ad3998ff270162768ce9ae6e7 (patch) | |
tree | 6161fd2aae762160cc70e3fd213eda4e57f0257f /win | |
parent | c4008d7a492fa08449de6e19414a1acf101e53f5 (diff) |
Tidy up some Stylecop Warnings
Tidy up some Stylecop Warnings
Diffstat (limited to 'win')
5 files changed, 21 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs index c487f5b98..cf8285292 100644 --- a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs +++ b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs @@ -27,12 +27,30 @@ namespace HandBrakeWPF.Controls this.InitializeComponent();
}
+ /// <summary>
+ /// The about request navigate.
+ /// </summary>
+ /// <param name="sender">
+ /// The sender.
+ /// </param>
+ /// <param name="e">
+ /// The e.
+ /// </param>
private void AboutHandBrake_OnRequestNavigate(object sender, RequestNavigateEventArgs e)
{
MainViewModel vm = this.DataContext as MainViewModel;
vm.OpenAboutApplication();
}
+ /// <summary>
+ /// The open options request navigate.
+ /// </summary>
+ /// <param name="sender">
+ /// The sender.
+ /// </param>
+ /// <param name="e">
+ /// The e.
+ /// </param>
private void OpenOptions_OnRequestNavigate(object sender, RequestNavigateEventArgs e)
{
MainViewModel vm = this.DataContext as MainViewModel;
diff --git a/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs b/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs index eb0a9c22a..e387bf064 100644 --- a/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs +++ b/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs @@ -69,7 +69,6 @@ namespace HandBrakeWPF.Converters.Video encoders.Remove(VideoEncoder.QuickSyncH265);
}
-
return EnumHelper<VideoEncoder>.GetEnumDisplayValuesSubset(encoders);
}
diff --git a/win/CS/HandBrakeWPF/Helpers/QueueRecoveryHelper.cs b/win/CS/HandBrakeWPF/Helpers/QueueRecoveryHelper.cs index 195e66200..143288403 100644 --- a/win/CS/HandBrakeWPF/Helpers/QueueRecoveryHelper.cs +++ b/win/CS/HandBrakeWPF/Helpers/QueueRecoveryHelper.cs @@ -105,6 +105,9 @@ namespace HandBrakeWPF.Helpers /// <param name="errorService">
/// The error Service.
/// </param>
+ /// <returns>
+ /// The <see cref="bool"/>.
+ /// </returns>
public static bool RecoverQueue(IQueueProcessor encodeQueue, IErrorService errorService)
{
string appDataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"HandBrake\");
diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs index b581bdfcd..ab7fde81a 100644 --- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs @@ -509,7 +509,6 @@ namespace HandBrakeWPF.ViewModels }
}
-
#endregion
#region Output Files
diff --git a/win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs b/win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs index 2cac3dc3b..835add7fd 100644 --- a/win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs +++ b/win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs @@ -63,7 +63,6 @@ namespace HandBrakeWPF.ViewModels }
}
-
#endregion
#region Public Methods
|