Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectDefinitionReader.LoadObjectDefinitions(IResource) Method

Load object definitions from the supplied resource.

[Visual Basic]
Public Sub LoadObjectDefinitions( _
   ByVal resource As IResource _
)
[C#]
int LoadObjectDefinitions(
   IResource resource
);

Parameters

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

Return Value

The number of object definitions found

Exceptions

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

See Also

IObjectDefinitionReader Interface | Spring.Objects.Factory.Support Namespace | IObjectDefinitionReader.LoadObjectDefinitions Overload List