public static string GetTagValue(this CloudOdsWebsite site, string tagName) { return(site.HasTag(tagName) ? site.Tags[tagName] : null); }
public static bool HasTagWithValue(this CloudOdsWebsite site, string tagName, string tagValue) { return(site.HasTag(tagName) && site.Tags[tagName].Equals(tagValue, StringComparison.InvariantCultureIgnoreCase)); }