Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionVisitor.ResolveStringValue Method

calls the ObjectDefinitionVisitor.ResolveHandler to resolve any variables contained in the raw string.

[Visual Basic]
Protected Overridable Sub ResolveStringValue( _
   ByVal rawStringValue As String _
)
[C#]
protected virtual string ResolveStringValue(
   string rawStringValue
);

Parameters

rawStringValue
the raw string value containing variable placeholders to be resolved

Return Value

the resolved string, having variables being replaced, if any

Exceptions

Exception Type Condition
InvalidOperationException If no IVariableSource has been configured.

See Also

ObjectDefinitionVisitor Class | Spring.Objects.Factory.Config Namespace