FormatDelegate
Creates a format delegate that wraps a function taking the format string.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Constructor
- Namespace: Unity.SmartStrings.Utilities
- Assembly: UnityEngine.SmartStringsModule
FormatDelegate(Func<string, string>)
Creates a format delegate that wraps a function taking the format string.
public FormatDelegate(Func<string, string> getFormat)
Parameters
Function that returns the formatted output for a given format string.
FormatDelegate(Func<string, IFormatProvider, string>)
Creates a format delegate that wraps a function taking the format string and a format provider.
public FormatDelegate(Func<string, IFormatProvider, string> getFormat)
Parameters
Function that returns the formatted output for a given format string and format provider.