Class Document
Documents that contain data about each http request
Inheritance
System.Object
    Document
  Implements
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: BrowseSharp
Assembly: BrowseSharp.dll
Syntax
public class Document : IDocumentConstructors
| Improve this Doc View SourceDocument()
Default constructor generating new Document
Declaration
public Document()Document(IRestRequest, IRestResponse)
Constructor generating new Document
Declaration
public Document(IRestRequest request, IRestResponse response)Parameters
| Type | Name | Description | 
|---|---|---|
| RestSharp.IRestRequest | request | |
| RestSharp.IRestResponse | response | 
Document(IRestRequest, IRestResponse, IHtmlDocument)
Constructor generating new Document
Declaration
public Document(IRestRequest request, IRestResponse response, IHtmlDocument htmlDocument)Parameters
| Type | Name | Description | 
|---|---|---|
| RestSharp.IRestRequest | request | |
| RestSharp.IRestResponse | response | |
| AngleSharp.Dom.Html.IHtmlDocument | htmlDocument | 
Properties
| Improve this Doc View SourceHtmlDocument
Anglesharp document parsed from response
Declaration
public IHtmlDocument HtmlDocument { get; set; }Property Value
| Type | Description | 
|---|---|
| AngleSharp.Dom.Html.IHtmlDocument | 
Request
Request made by client
Declaration
public IRestRequest Request { get; set; }Property Value
| Type | Description | 
|---|---|
| RestSharp.IRestRequest | 
Response
Response returned by http request
Declaration
public IRestResponse Response { get; set; }Property Value
| Type | Description | 
|---|---|
| RestSharp.IRestResponse | 
Scripts
Javascripts parsed from response
Declaration
public List<Javascript> Scripts { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.List<Javascript> | 
Styles
Stylesheets parsed from response
Declaration
public List<StyleSheet> Styles { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.List<StyleSheet> |