7775ac84 1585 49f3 9626 1e34b510774b - akesseler/Plexdata.Utilities.Templates GitHub Wiki

Template.Format Method (Options, String, Object[])

Formats the list of arguments into the format string using given options.

Namespace: Plexdata.Utilities.Formatting
Assembly: Plexdata.Utilities.Templates (in Plexdata.Utilities.Templates.dll) Version: 1.0.0

Syntax

C#

public static string Format(
	Options options,
	string format,
	params Object[] arguments
)

Parameters

 

options
Type: Plexdata.Utilities.Formatting.Options
An instance of class Options with detailed formatting instructions.
format
Type: System.String
A string containing formatting instructions, either for index-based formatting, like "{0}, {1}, ...", or for template-based formatting, like "{name1}, {name2}, ...").
arguments
Type: System.Object[]
The optional list of arguments to be used.

Return Value

Type: String
A copy of format with the format elements replaced by the string representation of the corresponding objects in arguments.

Remarks

This method formats the list of arguments into the format string using given options.

See Also

Reference

Template Class
Format Overload
Plexdata.Utilities.Formatting Namespace

⚠️ **GitHub.com Fallback** ⚠️