Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionValueResolver.ResolveValueIfNecessary Method

Given a property value, return a value, resolving any references to other objects in the factory if necessary.

[Visual Basic]
Public Overridable Sub ResolveValueIfNecessary( _
   ByVal name As String, _
   ByVal definition As IObjectDefinition, _
   ByVal argumentName As String, _
   ByVal argumentValue As Object _
)
[C#]
public virtual object ResolveValueIfNecessary(
   string name,
   IObjectDefinition definition,
   string argumentName,
   object argumentValue
);

Parameters

name
The name of the object that is having the value of one of its properties resolved.
definition
The definition of the named object.
argumentName
The name of the property the value of which is being resolved.
argumentValue
The value of the property that is being resolved.

Remarks

The value could be :

See Also

ObjectDefinitionValueResolver Class | Spring.Objects.Factory.Support Namespace