Implements
Namespace: Flashtrace.Formatters
Assembly: Flashtrace.Formatters.dll
Syntax
public sealed class FormatterRepository.Builder : IDisposable
Constructors
Name | Description |
---|---|
Builder(FormatterRepository) |
Methods
Name | Description |
---|---|
AddFormatter(Type, IFormatter) | Registers the given |
AddFormatter(Type, Func<IFormatterRepository, IFormatter>) | |
AddFormatter(Type, Type) | Registers the given |
AddFormatter<T>(IFormatter<T>) | Registers the given |
AddFormatter<T>(Func<IFormatterRepository, IFormatter<T>>) | |
Dispose() | |
SetDynamic<T>() | Requests that formatters for parameters of a given type will be resolved according to the type of the parameter value, not to the type of the parameter itself. Interfaces, abstract classes and the object class are always resolved dynamically. |