C# Class SmartFormat.Extensions.TemplateFormatter

Inheritance: IFormatter
Show file Open project: scottrippey/SmartFormat.NET Class Usage Examples

Public Methods

Method Description
Register ( string templateName, string template ) : void
Remove ( string templateName ) : bool
TemplateFormatter ( SmartFormatter formatter ) : System
TryEvaluateFormat ( IFormattingInfo formattingInfo ) : bool

Method Details

Register() public method

public Register ( string templateName, string template ) : void
templateName string
template string
return void

Remove() public method

public Remove ( string templateName ) : bool
templateName string
return bool

TemplateFormatter() public method

public TemplateFormatter ( SmartFormatter formatter ) : System
formatter SmartFormatter
return System

TryEvaluateFormat() public method

public TryEvaluateFormat ( IFormattingInfo formattingInfo ) : bool
formattingInfo IFormattingInfo
return bool