Skip to main content
Code Review

Return to Revisions

2 of 2
replaced http://codereview.stackexchange.com/ with https://codereview.stackexchange.com/

Some changes I made (after noticing a few issues with it):

  • ExtraClasses has no need to be a field and a property; replaced both with public List<string> ExtraClasses { get; } = new List<string>();.
  • Since GetBodyDivContent is not static, I made removed extraClasses from the parameter, and made it directly used in the method.
  • I extracted a lot of Validate out to other protected methods.
  • I replaced ParseJson with TryParseJson as per RobH's answer.

Version as of this answer: ReCaptchaValidator.cs

Der Kommissar
  • 20.3k
  • 4
  • 70
  • 158
default

AltStyle によって変換されたページ (->オリジナル) /