Last active
August 9, 2017 09:21
-
-
Save sebastiandammark/2d509675876978a59f14e5fa83d1cb8c to your computer and use it in GitHub Desktop.
Calling a function with a Null value
This file contains 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
@Functions.ColorSwitcher(element.TextColor.ToString(), "yellow")) |
This file contains 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
@Functions.ColorSwitcher((!element.IsNull("TextColor") ? element.TextColor : "dbcc8e").ToString(), "yellow")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment