C# Class Rock.MergeTemplates.MergeTemplateType

Base class for merge template types (i.e. Word Document, HTML, etc)
Inheritance: Rock.Extension.Component
Afficher le fichier Open project: NewSpring/Rock

Protected Properties

Свойство Type Description
lavaRegEx System.Text.RegularExpressions.Regex
nextEmptyRecordRegEx System.Text.RegularExpressions.Regex
nextRecordRegEx System.Text.RegularExpressions.Regex
regExDot System.Text.RegularExpressions.Regex

Méthodes publiques

Méthode Description
CreateDocument ( MergeTemplate mergeTemplate, List mergeObjectList, object>.Dictionary globalMergeFields ) : BinaryFile

Creates the document.

GetDefaultLavaDebugInfo ( List mergeObjectList, object>.Dictionary globalMergeFields, string preText = null ) : string

Gets the default lava debug information.

GetLavaDebugInfo ( List mergeObjectList, object>.Dictionary globalMergeFields ) : string

Gets the lava debug information.

Method Details

CreateDocument() public abstract méthode

Creates the document.
public abstract CreateDocument ( MergeTemplate mergeTemplate, List mergeObjectList, object>.Dictionary globalMergeFields ) : BinaryFile
mergeTemplate MergeTemplate The merge template.
mergeObjectList List The merge object list.
globalMergeFields object>.Dictionary The global merge fields.
Résultat BinaryFile

GetDefaultLavaDebugInfo() public static méthode

Gets the default lava debug information.
public static GetDefaultLavaDebugInfo ( List mergeObjectList, object>.Dictionary globalMergeFields, string preText = null ) : string
mergeObjectList List The merge object list.
globalMergeFields object>.Dictionary The global merge fields.
preText string The pre text.
Résultat string

GetLavaDebugInfo() public méthode

Gets the lava debug information.
public GetLavaDebugInfo ( List mergeObjectList, object>.Dictionary globalMergeFields ) : string
mergeObjectList List The merge object list.
globalMergeFields object>.Dictionary The global merge fields.
Résultat string

Property Details

lavaRegEx protected_oe property

The RegEx to detect if the text has {{ }} tags in it
protected Regex,System.Text.RegularExpressions lavaRegEx
Résultat System.Text.RegularExpressions.Regex

nextEmptyRecordRegEx protected_oe property

The RegEx for finding the "next_empty" delimiter/indicator
protected Regex,System.Text.RegularExpressions nextEmptyRecordRegEx
Résultat System.Text.RegularExpressions.Regex

nextRecordRegEx protected_oe property

The RegEx for finding the "next" delimiter/indicator
protected Regex,System.Text.RegularExpressions nextRecordRegEx
Résultat System.Text.RegularExpressions.Regex

regExDot protected_oe property

The RegEx of "." that matches anything
protected Regex,System.Text.RegularExpressions regExDot
Résultat System.Text.RegularExpressions.Regex