Show / Hide Table of Contents

Class StyleEngine

Class for scraping css styles

Inheritance
System.Object
StyleEngine
Implements
IScraper
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 : IScraper

Constructors

| Improve this Doc View Source

StyleEngine()

Constructor

Declaration
public StyleEngine()

Methods

| Improve this Doc View Source

Add(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
| Improve this Doc View Source

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>

Implements

IScraper
  • Improve this Doc
  • View Source
Back to top Generated by DocFX