Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StaticMessageSource.ApplyResourcesToObject Method

Applies resources to object properties.

[Visual Basic]
Protected Overrides Sub ApplyResourcesToObject( _
   ByVal value As Object, _
   ByVal objectName As String, _
   ByVal cultureInfo As CultureInfo _
)
[C#]
protected override 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

Uses a System.ComponentModel.ComponentResourceManager internally to apply resources to object properties. Resource key names are of the form objectName.propertyName.

This feature is not currently supported on version 1.0 of the .NET platform.

Exceptions

Exception Type Condition
NotSupportedException This feature is not currently supported on version 1.0 of the .NET platform.

See Also

StaticMessageSource Class | Spring.Context.Support Namespace | ApplyResourcesToObject