Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PropertiesObjectDefinitionReader.RegisterObjectDefinitions(ResourceSet) Method

Register object definitions contained in a ResourceSet, using all property keys (i.e. not filtering by prefix).

[Visual Basic]
Public Overloads Sub RegisterObjectDefinitions( _
   ByVal rs As ResourceSet _
)
[C#]
public int RegisterObjectDefinitions(
   ResourceSet rs
);

Parameters

rs
The ResourceSet containing object definitions.

Return Value

The number of object definitions registered.

Exceptions

Exception Type Condition
ObjectsException In case of loading or parsing errors.

See Also

PropertiesObjectDefinitionReader Class | Spring.Objects.Factory.Support Namespace | PropertiesObjectDefinitionReader.RegisterObjectDefinitions Overload List