PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / IFormatting­Service Interface / IFormatting­Service Methods / IFormatting­Service.​Format Method / IFormatting­Service.​Format Method (String, Object[])

IFormattingService.Format Method (String, Object[])

Note: This API is now obsolete.

Formats a string with the default IFormatProvider.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
[ObsoleteAttribute("Pass the IFormatProvider. This helps the analyzers.")]
string Format(
	string format,
	params Object[] arguments
)

Parameters

format
Type: System.String
The formatting string.
arguments
Type: System.Object[]
Arguments.

Return Value

Type: String
The formatted string where parameters in format are replaced by formatted arguments.
See Also