mirror of
https://github.com/thunderspynetwork/creamsoda
synced 2026-01-16 20:04:49 -05:00
Testing updater, no major changes.
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -109,3 +109,5 @@ Generated_Code #added for RIA/Silverlight projects
|
||||
_UpgradeReport_Files/
|
||||
Backup*/
|
||||
UpgradeLog*.XML
|
||||
*.ide-wal
|
||||
*.ide-shm
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -22,7 +22,7 @@ namespace CreamSoda
|
||||
|
||||
public static class Helpers
|
||||
{
|
||||
public static string GetValueOrDefault(this XAttribute attribute, string defaultValue = null)
|
||||
public static string GetValueOrDefault(this XAttribute attribute, string defaultValue = "")
|
||||
{
|
||||
if (attribute == null)
|
||||
return defaultValue;
|
||||
@@ -30,7 +30,7 @@ namespace CreamSoda
|
||||
return attribute.Value;
|
||||
}
|
||||
|
||||
public static string GetAttributeValueOrDefault(this XElement element, string attributeName, string defaultValue = null)
|
||||
public static string GetAttributeValueOrDefault(this XElement element, string attributeName, string defaultValue = "")
|
||||
{
|
||||
if (element == null)
|
||||
return defaultValue;
|
||||
|
||||
Reference in New Issue
Block a user