Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractMessageSource.GetMessageInternal Method

Resolve the given code and arguments as message in the given culture, returning null if not found. Does not fall back to the code as default message. Invoked by GetMessage methods.

[Visual Basic]
Protected Sub GetMessageInternal( _
   ByVal code As String, _
   ByVal args As Object, _
   ByVal culture As CultureInfo _
)
[C#]
protected string GetMessageInternal(
   string code,
   object[] args,
   CultureInfo culture
);

Parameters

code
The code to lookup up, such as 'calculator.noRateSet'.
args
array of arguments that will be filled in for params within the message.
culture
The CultureInfo with which the resource is associated.

Return Value

The resolved message if the lookup was successful.

See Also

AbstractMessageSource Class | Spring.Context.Support Namespace