summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Encode/Model/Models
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-03-26 11:57:57 +0100
committersr55 <[email protected]>2017-03-26 11:57:57 +0100
commit6402bd62a09790377fa76868bed361ffa9b5c810 (patch)
tree99629d78f89f4dac2fca036e0e85cdbadb4f6f8e /win/CS/HandBrakeWPF/Services/Encode/Model/Models
parentb13c230613ae2092a5ce6f699df10a93f400cff6 (diff)
WinGui: Fix a number of stylecop warnings.
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Encode/Model/Models')
-rw-r--r--win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoLevel.cs28
-rw-r--r--win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoPreset.cs28
-rw-r--r--win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoProfile.cs28
-rw-r--r--win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoTune.cs56
4 files changed, 70 insertions, 70 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoLevel.cs b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoLevel.cs
index e7ca53e06..4cf6724a3 100644
--- a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoLevel.cs
+++ b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoLevel.cs
@@ -67,20 +67,6 @@ namespace HandBrakeWPF.Services.Encode.Model.Models.Video
/// <summary>
/// The equals.
/// </summary>
- /// <param name="other">
- /// The other.
- /// </param>
- /// <returns>
- /// The <see cref="bool"/>.
- /// </returns>
- protected bool Equals(VideoLevel other)
- {
- return string.Equals(this.ShortName, other.ShortName);
- }
-
- /// <summary>
- /// The equals.
- /// </summary>
/// <param name="obj">
/// The obj.
/// </param>
@@ -114,5 +100,19 @@ namespace HandBrakeWPF.Services.Encode.Model.Models.Video
{
return (this.ShortName != null ? this.ShortName.GetHashCode() : 0);
}
+
+ /// <summary>
+ /// The equals.
+ /// </summary>
+ /// <param name="other">
+ /// The other.
+ /// </param>
+ /// <returns>
+ /// The <see cref="bool"/>.
+ /// </returns>
+ protected bool Equals(VideoLevel other)
+ {
+ return string.Equals(this.ShortName, other.ShortName);
+ }
}
}
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoPreset.cs b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoPreset.cs
index 8efdf5b58..887540c31 100644
--- a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoPreset.cs
+++ b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoPreset.cs
@@ -67,20 +67,6 @@ namespace HandBrakeWPF.Services.Encode.Model.Models.Video
/// <summary>
/// The equals.
/// </summary>
- /// <param name="other">
- /// The other.
- /// </param>
- /// <returns>
- /// The <see cref="bool"/>.
- /// </returns>
- protected bool Equals(VideoPreset other)
- {
- return string.Equals(this.ShortName, other.ShortName);
- }
-
- /// <summary>
- /// The equals.
- /// </summary>
/// <param name="obj">
/// The obj.
/// </param>
@@ -117,5 +103,19 @@ namespace HandBrakeWPF.Services.Encode.Model.Models.Video
{
return (this.ShortName != null ? this.ShortName.GetHashCode() : 0);
}
+
+ /// <summary>
+ /// The equals.
+ /// </summary>
+ /// <param name="other">
+ /// The other.
+ /// </param>
+ /// <returns>
+ /// The <see cref="bool"/>.
+ /// </returns>
+ protected bool Equals(VideoPreset other)
+ {
+ return string.Equals(this.ShortName, other.ShortName);
+ }
}
}
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoProfile.cs b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoProfile.cs
index 80d3fe26d..4091e4cfb 100644
--- a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoProfile.cs
+++ b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoProfile.cs
@@ -67,20 +67,6 @@ namespace HandBrakeWPF.Services.Encode.Model.Models.Video
/// <summary>
/// The equals.
/// </summary>
- /// <param name="other">
- /// The other.
- /// </param>
- /// <returns>
- /// The <see cref="bool"/>.
- /// </returns>
- protected bool Equals(VideoProfile other)
- {
- return string.Equals(this.DisplayName, other.DisplayName) && string.Equals(this.ShortName, other.ShortName);
- }
-
- /// <summary>
- /// The equals.
- /// </summary>
/// <param name="obj">
/// The obj.
/// </param>
@@ -117,5 +103,19 @@ namespace HandBrakeWPF.Services.Encode.Model.Models.Video
return ((this.DisplayName != null ? this.DisplayName.GetHashCode() : 0) * 397) ^ (this.ShortName != null ? this.ShortName.GetHashCode() : 0);
}
}
+
+ /// <summary>
+ /// The equals.
+ /// </summary>
+ /// <param name="other">
+ /// The other.
+ /// </param>
+ /// <returns>
+ /// The <see cref="bool"/>.
+ /// </returns>
+ protected bool Equals(VideoProfile other)
+ {
+ return string.Equals(this.DisplayName, other.DisplayName) && string.Equals(this.ShortName, other.ShortName);
+ }
}
}
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoTune.cs b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoTune.cs
index deba2a56f..d202cf51d 100644
--- a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoTune.cs
+++ b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/Video/VideoTune.cs
@@ -72,34 +72,6 @@ namespace HandBrakeWPF.Services.Encode.Model.Models.Video
/// <summary>
/// The equals.
/// </summary>
- /// <param name="other">
- /// The other.
- /// </param>
- /// <returns>
- /// The <see cref="bool"/>.
- /// </returns>
- protected bool Equals(HandBrakeWPF.Services.Encode.Model.Models.Video.VideoProfile other)
- {
- return string.Equals(this.DisplayName, other.DisplayName) && string.Equals(this.ShortName, other.ShortName);
- }
-
- /// <summary>
- /// The equals.
- /// </summary>
- /// <param name="other">
- /// The other.
- /// </param>
- /// <returns>
- /// The <see cref="bool"/>.
- /// </returns>
- protected bool Equals(VideoTune other)
- {
- return string.Equals(this.ShortName, other.ShortName);
- }
-
- /// <summary>
- /// The equals.
- /// </summary>
/// <param name="obj">
/// The obj.
/// </param>
@@ -133,5 +105,33 @@ namespace HandBrakeWPF.Services.Encode.Model.Models.Video
{
return (this.ShortName != null ? this.ShortName.GetHashCode() : 0);
}
+
+ /// <summary>
+ /// The equals.
+ /// </summary>
+ /// <param name="other">
+ /// The other.
+ /// </param>
+ /// <returns>
+ /// The <see cref="bool"/>.
+ /// </returns>
+ protected bool Equals(VideoTune other)
+ {
+ return string.Equals(this.ShortName, other.ShortName);
+ }
+
+ /// <summary>
+ /// The equals.
+ /// </summary>
+ /// <param name="other">
+ /// The other.
+ /// </param>
+ /// <returns>
+ /// The <see cref="bool"/>.
+ /// </returns>
+ protected bool Equals(VideoProfile other)
+ {
+ return string.Equals(this.DisplayName, other.DisplayName) && string.Equals(this.ShortName, other.ShortName);
+ }
}
}