Table of Contents

Class Formatter<TSourceItem, TContent>

Namespace
Sccg.Core
Assembly
Sccg.dll

The base class of IFormatter.

public abstract class Formatter<TSourceItem, TContent> : IFormatter, IBuildUnit where TSourceItem : ISourceItem where TContent : IContent

Type Parameters

TSourceItem
TContent
Inheritance
Formatter<TSourceItem, TContent>
Implements
Derived
Inherited Members

Properties

Name

Gets the formatter name.

Priority

Gets the order in which the IFormatter is applied. The lower the number, the earlier the IFormatter is applied.

Methods

Format(IEnumerable<TSourceItem>)

Formats to TContent from the collection of TSourceItem.

Format(IEnumerable<TSourceItem>, BuilderQuery)

Formats to TContent from the collection of TSourceItem.