Closed
Description
Here is an example of the code:
!string.IsNullOrEmpty(dasBlogSettings.SiteConfiguration.CheesySpamQ) && !string.IsNullOrEmpty(dasBlogSettings.SiteConfiguration.CheesySpamA)
&& dasBlogSettings.SiteConfiguration.CheesySpamQ.Length > 0 && dasBlogSettings.SiteConfiguration.CheesySpamA.Length > 0)
One example to replace can be found here:
...\dasblog-core\source\DasBlog.Web.UI\Views\Shared_CommentAddPartial.cshtml
In general, these type of status checks should be Properties rather than methods.
Metadata
Metadata
Assignees
Labels
No labels