v1.2.11.3
This commit is contained in:
@@ -25,6 +25,7 @@ namespace Saxonite.Net.Standard.Base.Helpers
|
||||
return Sax.ContactMethodType.Email;
|
||||
case Sax.ContactMethod.Website:
|
||||
case Sax.ContactMethod.Wikipedia:
|
||||
case Sax.ContactMethod.Location:
|
||||
case Sax.ContactMethod.LinkedIn:
|
||||
case Sax.ContactMethod.Twitter:
|
||||
case Sax.ContactMethod.Facebook:
|
||||
@@ -58,6 +59,11 @@ namespace Saxonite.Net.Standard.Base.Helpers
|
||||
// Wikipedia.
|
||||
return SacsDataValidationHelper.IsValidWikipediaUrl(value);
|
||||
}
|
||||
else if (method == Sax.ContactMethod.Location)
|
||||
{
|
||||
// Location URL.
|
||||
return SacsDataValidationHelper.IsValidLocationUrl(value);
|
||||
}
|
||||
else if (method == Sax.ContactMethod.LinkedIn)
|
||||
{
|
||||
// LinkedIn.
|
||||
|
||||
Reference in New Issue
Block a user