Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StaticMessageSource.AddMessage Method

Associate the supplied messageFormat with the supplied code.

[Visual Basic]
Public Sub AddMessage( _
   ByVal code As String, _
   ByVal culture As CultureInfo, _
   ByVal messageFormat As String _
)
[C#]
public void AddMessage(
   string code,
   CultureInfo culture,
   string messageFormat
);

Parameters

code
The lookup code.
culture
The CultureInfo to resolve the code for.
messageFormat
The message format associated with this lookup code.

See Also

StaticMessageSource Class | Spring.Context.Support Namespace