Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PropertyPlaceholderConfigurer.ParseString Method

Parse values recursively to be able to resolve cross-references between placeholder values.

[Visual Basic]
Public Overridable Sub ParseString( _
   ByVal properties As NameValueCollection, _
   ByVal strVal As String, _
   ByVal visitedPlaceholders As ISet _
)
[C#]
public virtual string ParseString(
   NameValueCollection properties,
   string strVal,
   ISet visitedPlaceholders
);

Parameters

properties
The map of constructor arguments / property values.
strVal
The string to be resolved.
visitedPlaceholders
The placeholders that have already been visited during the current resolution attempt (used to detect circular references between placeholders). Only non-null if we're parsing a nested placeholder.

Return Value

The resolved string.

Exceptions

Exception Type Condition
ObjectsException If an error occurs.

See Also

PropertyPlaceholderConfigurer Class | Spring.Objects.Factory.Config Namespace