Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractObjectDefinitionReader.LoadObjectDefinitions(IResource) Method

Load object definitions from the supplied resources.

[Visual Basic]
Public NotOverridable Overloads Sub LoadObjectDefinitions( _
   ByVal resources As IResource _
) _
    Implements IObjectDefinitionReader.LoadObjectDefinitions
[C#]
public int LoadObjectDefinitions(
   IResource[] resources
);

Parameters

resources
The resources for the object definitions that are to be loaded.

Return Value

The number of object definitions found

Implements

IObjectDefinitionReader.LoadObjectDefinitions

Exceptions

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

See Also

AbstractObjectDefinitionReader Class | Spring.Objects.Factory.Support Namespace | AbstractObjectDefinitionReader.LoadObjectDefinitions Overload List