PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Utilities Namespace/Localized­Text­Provider Class/Localized­Text­Provider Methods/Localized­Text­Provider.​Format­String Method

LocalizedTextProvider.FormatString Method

Formats a string. An implementation would typically invoke Format(String, Object[]).

Namespace:  PostSharp.Patterns.Utilities
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public virtual string FormatString(
	string format,
	Object[] arguments
)

Parameters

format
Type: System.String
Formatting string. Typically (but not necessarily) the string returned by GetMessage(String).
arguments
Type: System.Object[]
Arguments.

Return Value

Type: String
The formatted string.
See Also