PostSharp.ILAPI ReferencePost­Sharp.​ExtensibilityIFormatting­ServiceFormat
Open sandboxFocus

IFormattingService.Format Method

Format(String, Object[])

Formats a string with the default System.IFormatProvider.

Declaration
string Format(string format, params object[] arguments)
Parameters
Type Name Description
String format

The formatting string.

Object[] arguments

Arguments.

Returns
Type Description
String

The formatted string where parameters in format are replaced by formatted arguments.

Format(IFormatProvider, String, Object[])

Formats a string and specifies the System.IFormatProvider.

Declaration
string Format(IFormatProvider provider, string format, params object[] arguments)
Parameters
Type Name Description
System.IFormatProvider provider

An System.IFormatProvider.

String format

The formatting string.

Object[] arguments

Arguments.

Returns
Type Description
String

The formatted string where parameters in format are replaced by formatted arguments.