Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (22 sloc) 929 Bytes

XML configuration properties

If you have parameters that are used by more than one component or you have a complex system configuration, you may use a properties node which allows you to centralize the configuration. For example:



        <component id="smtp.sender"
            service="Namespace.IEmailSender, AssemblyName"
            type="Namespace.SmtpMailSender, AssemblyName">




You can specify values to attributes using the same syntax.

Notice the #{propertyName} notation. This is non-surprisingly called property reference notation and it means use the value of property with given name.

You can’t perform that action at this time.