Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FormatDetails

Contains extra information about the item currently being formatted. These objects are not often used, so they are all wrapped up here.
Read time 1 minuteLast updated 13 days ago

Definition

public class FormatDetails

Properties

Property

Description

FormatterThe original formatter responsible for formatting this item. It can be used for evaluating nested formats.
FormattingExceptionIf ErrorAction is set to OutputErrorsInResult, this will contain the exception that caused the formatting error.
OriginalArgsThe original set of arguments passed to the format method. These provide global-access to the original arguments.
OriginalFormatThe original parsed Format produced by the Parser.
OutputThe IOutput where the formatting result is written.
ProviderThe IFormatProvider that can be used to determine how to format items such as numbers, dates, and anything else that might be culture-specific.
SettingsContains case-sensitivity and other settings.

Methods

Method

Description

InitializeInitializes the FormatDetails instance.