Skip to main content
.NET 6.0+

ObjectFormatter Constructors

Represents a string formatter. Exposes the static helper ObjectFormatter.Format method that replaces format items in the specified string with the property values of the specified object.
Name Parameters Description
ObjectFormatter() none Creates an instance of the ObjectFormatter class.
ObjectFormatter(ICaptionHelperProvider) captionHelperProvider Initializes a new instance of the ObjectFormatter class with specified settings.
ObjectFormatter(ICaptionHelper) captionHelper Initializes a new instance of the ObjectFormatter class with specified settings.
ObjectFormatter(Boolean, ICaptionHelperProvider) parseValuesWithSpecialCharacters, captionHelperProvider Initializes a new instance of the ObjectFormatter class with specified settings.
ObjectFormatter(Boolean) parseValuesWithSpecialCharacters Initializes a new instance of the ObjectFormatter class with specified settings.
See Also