GenericTextFormatter<T> Class
Formats an instance for T with a sequence of Formatter<T> instances.
Namespace: Microsoft.Practices.EnterpriseLibrary.Logging.Formatters
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
public class GenericTextFormatter<T>
'Declaration
Public Class GenericTextFormatter(Of T)
generic<typename T>
public ref class GenericTextFormatter
Type Parameters
- T
The type of object to format.
Remarks
A formatter will convert a template into a sequence of Formatter<T> instances with the help of a set of TokenHandler<T> instances that help parse the tokens in the template.
The character '{' is used to determine the start of a token, and token handlers perform the actual parsing of each token.
Inheritance Hierarchy
System.Object
Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.GenericTextFormatter<T>
See Also
GenericTextFormatter<T> Members
Microsoft.Practices.EnterpriseLibrary.Logging.Formatters Namespace