Exemple #1
0
 public static bool IsValid(string identifier)
 {
     Requires.NotNullOrEmpty(identifier, "identifier");
     return(XriIdentifier.IsValidXri(identifier) || UriIdentifier.IsValidUri(identifier));
 }
Exemple #2
0
 public static bool IsValid(string identifier)
 {
     Contract.Requires <ArgumentException>(!string.IsNullOrEmpty(identifier));
     return(XriIdentifier.IsValidXri(identifier) || UriIdentifier.IsValidUri(identifier));
 }
Exemple #3
0
 public static bool IsValid(string identifier)
 {
     return(XriIdentifier.IsValidXri(identifier) || UriIdentifier.IsValidUri(identifier));
 }