Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StaticMessageSource.AddObject Method

Associate the supplied value with the supplied code.

[Visual Basic]
Public Sub AddObject( _
   ByVal code As String, _
   ByVal cultureInfo As CultureInfo, _
   ByVal value As Object _
)
[C#]
public void AddObject(
   string code,
   CultureInfo cultureInfo,
   object value
);

Parameters

code
The lookup code.
cultureInfo
The CultureInfo to resolve the code for.
value
The object associated with this lookup code.

See Also

StaticMessageSource Class | Spring.Context.Support Namespace