FormatDelegate
Creates a format delegate that wraps a function taking the format string.
Read time 1 minuteLast updated 13 days ago
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.