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">