File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ namespace CommandLine.Text
1717 /// Provides means to format an help screen.
1818 /// You can assign it in place of a <see cref="System.String"/> instance.
1919 /// </summary>
20- public class HelpText : IEquatable < HelpText >
20+ public class HelpText
2121 {
2222 private const int BuilderCapacity = 128 ;
2323 private const int DefaultMaximumLength = 80 ; // default console width
@@ -597,22 +597,6 @@ public static IEnumerable<string> RenderUsageTextAsLines<T>(ParserResult<T> pars
597597 }
598598 }
599599
600- /// <summary>
601- ///
602- /// </summary>
603- /// <param name="other"></param>
604- /// <returns></returns>
605- public bool Equals ( HelpText other )
606- {
607- return other != null
608- && other . AddDashesToOption == AddDashesToOption
609- && other . AddEnumValuesToHelpText == AddEnumValuesToHelpText
610- && other . AdditionalNewLineAfterOption == AdditionalNewLineAfterOption
611- && other . Copyright . Equals ( Copyright )
612- && other . Heading . Equals ( Heading )
613- && other . MaximumDisplayWidth == MaximumDisplayWidth ;
614- }
615-
616600 /// <summary>
617601 /// Returns the help screen as a <see cref="System.String"/>.
618602 /// </summary>
You can’t perform that action at this time.
0 commit comments