public override bool Equals(object obj) { var asUrl = obj as UrlValue; if (asUrl == null) return false; return asUrl.UrlPath.Equals(UrlPath); }