diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Encode/Model/Models')
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); + } } } |