Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

FormatDetails

class in Unity.SmartStrings.Core.Formatting

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Contains extra information about the item currently being formatted. These objects are not often used, so they are all wrapped up here.

Properties

Property Description
Formatter The original formatter responsible for formatting this item. It can be used for evaluating nested formats.
FormattingException If ErrorAction is set to OutputErrorsInResult, this will contain the exception that caused the formatting error.
OriginalArgs The original set of arguments passed to the format method. These provide global-access to the original arguments.
OriginalFormat The original parsed Format produced by the Parser.
Output The IOutput where the formatting result is written.
Provider The IFormatProvider that can be used to determine how to format items such as numbers, dates, and anything else that might be culture-specific.
Settings Contains case-sensitivity and other settings.

Public Methods

Method Description
Initialize Initializes the FormatDetails instance.