Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LinkCheckResult"/> class.
 /// </summary>
 /// <param name="summary">The summary.</param>
 /// <param name="link">The link.</param>
 /// <param name="httpStatus">The HTTP status.</param>
 public LinkCheckResult(LinkCheckSummary summary, string link, HttpStatusCode httpStatus)
 {
     this.Summary        = summary;
     this.NewLink        = link;
     this.HttpStatusCode = httpStatus;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LinkCheckResult"/> class.
 /// </summary>
 /// <param name="summary">The summary.</param>
 /// <param name="link">The link.</param>
 public LinkCheckResult(LinkCheckSummary summary, string link = null)
 {
     this.Summary = summary;
     this.NewLink = link;
 }