From db44d5ab28ef83794e587a643c2f49972a8d2fb0 Mon Sep 17 00:00:00 2001 From: Marijn van der Zee Date: Mon, 19 Dec 2011 14:14:17 +0100 Subject: [PATCH] Fix typos --- doc/reference/src/objects.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/reference/src/objects.xml b/doc/reference/src/objects.xml index a98fa166..b8708cb5 100644 --- a/doc/reference/src/objects.xml +++ b/doc/reference/src/objects.xml @@ -5009,7 +5009,7 @@ cfg.PostProcessObjectFactory(factory); <literal>ConfigSectionVariableSource</literal> The ConfigSectionVariableSource allows you - to define variables in a custom configuration section in you + to define variables in a custom configuration section in your configuration file: <!-- app.config: --> @@ -5041,7 +5041,7 @@ cfg.PostProcessObjectFactory(factory); By simply configuring the appropriate section, you can use the ConfigSectionVariableSource to retrieve variables - from application settings and user settings. Assuming your + from .NET's application settings and user settings. Assuming your application's root namespace is MyApp, then your application- and user settings can be loaded as variables by configuring the following variable sources: @@ -5118,7 +5118,7 @@ joan_age=35 The following variable source configuration allows you to use ${roger_name} and ${roger_age} - as variable placeholders: + as variables: <object type="Spring.Objects.Factory.Config.CommandLineArgsVariableSource, Spring.Core"> <property name="ArgumentPrefix" value ="/" /> <!-- optional; default: "/" --> @@ -5132,9 +5132,9 @@ joan_age=35 Entries in the Windows registry can be used as variables. When your registry contains the key HKEY_CURRENT_USER\MyKey with entries - freddy_name (String) and freddy_age - (DWord), then you can configure the following variable - source to use ${freddy_name} and + freddy_name and freddy_age, + then you can configure the following variable source to use + ${freddy_name} and ${freddy_age} as variables: <object type="Spring.Objects.Factory.Config.RegistryVariableSource, Spring.Core">