Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractMessageSource.ApplyResourcesToObject Method

Applies resources to object properties.

[Visual Basic]
Protected MustOverride Sub ApplyResourcesToObject( _
   ByVal value As Object, _
   ByVal objectName As String, _
   ByVal cultureInfo As CultureInfo _
)
[C#]
protected abstract void ApplyResourcesToObject(
   object value,
   string objectName,
   CultureInfo cultureInfo
);

Parameters

value
An object that contains the property values to be applied.
objectName
The base name of the object to use for key lookup.
cultureInfo
The CultureInfo with which the resource is associated.

Remarks

Subclasses must implement this method to apply resources to an arbitrary object.

See Also

AbstractMessageSource Class | Spring.Context.Support Namespace