Class StyleEngine
Class for scraping css styles
Inheritance
System.Object
    StyleEngine
  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.Style
Assembly: BrowseSharp.dll
Syntax
public class StyleEngine : IScraperConstructors
| Improve this Doc View SourceStyleEngine()
Constructor
Declaration
public StyleEngine()Methods
| Improve this Doc View SourceAdd(IDocument)
Method for adding styles to a document. Returns number of script script found added
Declaration
public int Add(IDocument document)Parameters
| Type | Name | Description | 
|---|---|---|
| IDocument | document | 
Returns
| Type | Description | 
|---|---|
| System.Int32 | 
AddAsync(IDocument)
Method for adding styles to a document asynchronously. Returns number of script script found added
Declaration
public Task<int> AddAsync(IDocument document)Parameters
| Type | Name | Description | 
|---|---|---|
| IDocument | document | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<System.Int32> |