Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionValueResolver.ResolveInnerObjectDefinition Method

Resolves an inner object definition.

[Visual Basic]
Protected Overridable Sub ResolveInnerObjectDefinition( _
   ByVal name As String, _
   ByVal innerObjectName As String, _
   ByVal argumentName As String, _
   ByVal definition As IObjectDefinition, _
   ByVal singletonOwner As Boolean _
)
[C#]
protected virtual object ResolveInnerObjectDefinition(
   string name,
   string innerObjectName,
   string argumentName,
   IObjectDefinition definition,
   bool singletonOwner
);

Parameters

name
The name of the object that surrounds this inner object definition.
innerObjectName
The name of the inner object definition... note: this is a synthetic name assigned by the factory (since it makes no sense for inner object definitions to have names).
argumentName
The name of the property the value of which is being resolved.
definition
The definition of the inner object that is to be resolved.
singletonOwner
true if the owner of the property is a singleton.

Return Value

The resolved object as defined by the inner object definition.

See Also

ObjectDefinitionValueResolver Class | Spring.Objects.Factory.Support Namespace