Пример #1
0
 public bool Equals(WebPage other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.WebPageAddress.AbsolutePath, WebPageAddress.AbsolutePath);
 }
Пример #2
0
        public static WebPage Get404(Uri x)
        {
            var wp = new WebPage(x) {Title = "404"};

            return wp;
        }