Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PropertiesObjectDefinitionReader.RegisterObjectDefinitions(NameValueCollection) Method

Registers object definitions contained in an NameValueCollection using all property keys ( i.e. not filtering by prefix )

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

Parameters

nameValueCollection
The NameValueCollection 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