Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PropertyPlaceholderConfigurer.ResolvePlaceholder(String, NameValueCollection) Method

Resolve the given placeholder using the given name value collection.

[Visual Basic]
Protected Overridable Overloads Sub ResolvePlaceholder( _
   ByVal placeholder As String, _
   ByVal props As NameValueCollection _
)
[C#]
protected virtual string ResolvePlaceholder(
   string placeholder,
   NameValueCollection props
);

Parameters

placeholder
The placeholder to resolve.
props
The merged name value collection of this configurer.

Return Value

The resolved value.

Remarks

This (the default) implementation simply looks up the value of the supplied placeholder key.

Subclasses can override this for customized placeholder-to-key mappings or custom resolution strategies, possibly just using the given name value collection as fallback.

See Also

PropertyPlaceholderConfigurer Class | Spring.Objects.Factory.Config Namespace | PropertyPlaceholderConfigurer.ResolvePlaceholder Overload List