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.1304.0)

public class GenericTextFormatter<T>

The type of object to format.

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.