C# Class TemplNET.TemplMatchSection

Represents a section, located by matching a placeholder string in the scope of this section's paragraph
Inheritance: TemplMatchPara
Datei anzeigen Open project: CPonty/templ-dot-net

Public Properties

Property Type Description
Section Novacode.Section

Public Methods

Method Description
Find ( TemplRegex rxp, IEnumerable
sections, uint maxPerSection = TemplConst.MaxMatchesPerScope ) : IEnumerable
Find ( TemplRegex rxp, Novacode.Section sec ) : IEnumerable
Remove ( ) : void

Removes the placeholder, plus all *contents* of the section.

Method Details

Find() public static method

public static Find ( TemplRegex rxp, IEnumerable
sections, uint maxPerSection = TemplConst.MaxMatchesPerScope ) : IEnumerable
rxp TemplRegex
sections IEnumerable
maxPerSection uint
return IEnumerable

Find() public static method

public static Find ( TemplRegex rxp, Novacode.Section sec ) : IEnumerable
rxp TemplRegex
sec Novacode.Section
return IEnumerable

Remove() public method

Removes the placeholder, plus all *contents* of the section.
public Remove ( ) : void
return void

Property Details

Section public_oe property

public Section,Novacode Section
return Novacode.Section