Class Formatter<TSourceItem, TContent>
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 ofTSourceItem
.
- Format(IEnumerable<TSourceItem>, BuilderQuery)
Formats to
TContent
from the collection ofTSourceItem
.