Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

XmlObjectFactory Constructor

Creates a new instance of the XmlObjectFactory class, with the given resource, which must be parsable using DOM.

[Visual Basic]
Public Overloads Sub New( _
   ByVal resource As IResource _
)
[C#]
XmlObjectFactory(
   IResource resource
);

Parameters

resource
The XML resource to load object definitions from.

Exceptions

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

See Also

XmlObjectFactory Class | Spring.Objects.Factory.Xml Namespace | XmlObjectFactory Constructor Overload List