Created
April 18, 2025 05:54
-
-
Save AndyButland/cf03cd91e439ad7fe62c922ca21a2264 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace MyProject.Web.Customization; | |
public static class SoftwarePageUrlHelper | |
{ | |
public static bool IsSoftwarePage(string contentTypeAlias, string? contentName) => | |
contentTypeAlias == "testPage" && | |
!string.IsNullOrEmpty(contentName) && | |
contentName.EndsWith(" Software"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment