Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractObjectFactory.GetMergedObjectDefinition(String, Boolean) Method

Return a RootObjectDefinition, even by traversing parent if the parameter is a child definition.

[Visual Basic]
Public Overridable Overloads Sub GetMergedObjectDefinition( _
   ByVal name As String, _
   ByVal includingAncestors As Boolean _
)
[C#]
public virtual RootObjectDefinition GetMergedObjectDefinition(
   string name,
   bool includingAncestors
);

Parameters

name
The name of the object.
includingAncestors
Are ancestors to be included in the merge?

Return Value

A merged RootObjectDefinition with overridden properties.

Remarks

Will ask the parent object factory if not found in this instance.

See Also

AbstractObjectFactory Class | Spring.Objects.Factory.Support Namespace | AbstractObjectFactory.GetMergedObjectDefinition Overload List