HTML2Markdown
Converts HTML to Markdown syntax.
Loading...
Searching...
No Matches
Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Html2Markdown.Scheme.AbstractScheme Class Reference

A group of IReplacer to deal with converting HTML entities. More...

Inheritance diagram for Html2Markdown.Scheme.AbstractScheme:
Html2Markdown.Scheme.IScheme Html2Markdown.Scheme.CommonMark Html2Markdown.Scheme.Markdown

Public Member Functions

IList< IReplacerReplacers ()
 Gets the collection of IReplacer instances.
 
void AddReplacer (IReplacer replacer)
 Adds a single replacer to the collection.
 
IList< IReplacerReplacers ()
 The collection of IReplacer that for this scheme.
 

Static Protected Member Functions

static void AddReplacementGroup (IList< IReplacer > replacers, IReplacementGroup replacementGroup)
 Adds a group of replacements to the provided list of replacers.
 

Protected Attributes

readonly IList< IReplacerReplacerCollection = new List<IReplacer>()
 The collection of IReplacer instances used for replacements.
 

Detailed Description

A group of IReplacer to deal with converting HTML entities.

Member Function Documentation

◆ AddReplacementGroup()

static void Html2Markdown.Scheme.AbstractScheme.AddReplacementGroup ( IList< IReplacer replacers,
IReplacementGroup  replacementGroup 
)
inlinestaticprotected

Adds a group of replacements to the provided list of replacers.

Parameters
replacersThe list of replacers to add to.
replacementGroupThe group of replacements to add.

◆ AddReplacer()

void Html2Markdown.Scheme.AbstractScheme.AddReplacer ( IReplacer  replacer)
inline

Adds a single replacer to the collection.

Parameters
replacerThe replacer to add.

◆ Replacers()

IList< IReplacer > Html2Markdown.Scheme.AbstractScheme.Replacers ( )
inline

Gets the collection of IReplacer instances.

Returns
The list of IReplacer instances.

Implements Html2Markdown.Scheme.IScheme.

Member Data Documentation

◆ ReplacerCollection

readonly IList<IReplacer> Html2Markdown.Scheme.AbstractScheme.ReplacerCollection = new List<IReplacer>()
protected

The collection of IReplacer instances used for replacements.


The documentation for this class was generated from the following file: