C# Class TemplateEngine.Docx.Processors.ListProcessor.Prototype

Entire list prototype, includes all list levels.
Show file Open project: UNIT6-open/TemplateEngine.Docx

Public Methods

Method Description
CurrentLevelPrototype ( IEnumerable fieldNames ) : LevelPrototype

Retrieves prototype for current content item.

Exclude ( LevelPrototype prototypeForExclude ) : Prototype
Prototype ( ProcessContext context, System.Xml.Linq.XElement listContentControl, IEnumerable fieldNames ) : System

Creates prototype from list content control and fieldNames.

Private Methods

Method Description
Prototype ( ProcessContext context, IEnumerable prototypeItems ) : System

Creates prototype from list of prototype items.

Method Details

CurrentLevelPrototype() public method

Retrieves prototype for current content item.
public CurrentLevelPrototype ( IEnumerable fieldNames ) : LevelPrototype
fieldNames IEnumerable Fields names for current content item.
return LevelPrototype

Exclude() public method

public Exclude ( LevelPrototype prototypeForExclude ) : Prototype
prototypeForExclude LevelPrototype
return Prototype

Prototype() public method

Creates prototype from list content control and fieldNames.
public Prototype ( ProcessContext context, System.Xml.Linq.XElement listContentControl, IEnumerable fieldNames ) : System
context ProcessContext Process context.
listContentControl System.Xml.Linq.XElement List content control element.
fieldNames IEnumerable Names of fields with content.
return System