Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PropertiesObjectDefinitionReader.RegisterObjectDefinitions(IDictionary) Method

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

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

Parameters

id
The IDictionary 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