Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StaticApplicationContext.AddMessage Method

Associate the given message with the given code.

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

Parameters

code
The lookup code.
cultureInfo
The CultureInfo that the message should be found within.
defaultMessage
The message associated with the lookup code.

See Also

StaticApplicationContext Class | Spring.Context.Support Namespace