summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorScott <[email protected]>2015-09-26 21:10:52 +0100
committerScott <[email protected]>2015-09-26 21:30:33 +0100
commita6cf5c5fd4b4c23ad3998ff270162768ce9ae6e7 (patch)
tree6161fd2aae762160cc70e3fd213eda4e57f0257f /win/CS
parentc4008d7a492fa08449de6e19414a1acf101e53f5 (diff)
Tidy up some Stylecop Warnings
Tidy up some Stylecop Warnings
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs18
-rw-r--r--win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs1
-rw-r--r--win/CS/HandBrakeWPF/Helpers/QueueRecoveryHelper.cs3
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs1
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs1
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