Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractMessageSource.FormatMessage Method

Format the given default message String resolving any agrument placeholders found in them.

[Visual Basic]
Protected Overridable Sub FormatMessage( _
   ByVal msg As String, _
   ByVal args As Object, _
   ByVal culture As CultureInfo _
)
[C#]
protected virtual string FormatMessage(
   string msg,
   object[] args,
   CultureInfo culture
);

Parameters

msg
The message to format.
args
The array of agruments that will be filled in for parameter placeholders within the message, or null if none.
culture
The CultureInfo with which the resource is associated.

Return Value

The formatted message (with resolved arguments)

See Also

AbstractMessageSource Class | Spring.Context.Support Namespace