Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ManagedCollectionElementResolver Delegate

Resolves a single element value of a managed collection.

[Visual Basic]
Public Delegate Function ManagedCollectionElementResolver( _
   ByVal name As String, _
   ByVal definition As IObjectDefinition, _
   ByVal argumentName As String, _
   ByVal element As Object _
)
[C#]
public delegate object ManagedCollectionElementResolver(
   string name,
   IObjectDefinition definition,
   string argumentName,
   object element
);

Parameters

name
The name of the top level object that is having the value of one of it's collection properties resolved.
definition
The definition of the named top level object.
argumentName
The name of the property the value of which is being resolved.
element
That element of a managed collection that may need to be resolved to a concrete value.

Return Value

A fully resolved element.

Remarks

If the element does not need to be resolved or converted to an appropriate Type, the element will be returned as-is.

Requirements

Namespace: Spring.Objects.Factory.Support

Assembly: Spring.Core (in Spring.Core.dll)

See Also

Spring.Objects.Factory.Support Namespace