Exemple #1
0
        /// <summary>
        /// Initialize Velocity properties, if the default
        /// properties have not been laid down first then
        /// do so. Then proceed to process any overriding
        /// properties. Laying down the default properties
        /// gives a much greater chance of having a
        /// working system.
        /// </summary>
        private void initializeProperties()
        {
            // Always lay down the default properties first as
            // to provide a solid base.
            if (configuration.IsInitialized() == false)
            {
                setDefaultProperties();
            }

            if (overridingProperties != null)
            {
                configuration.Combine(overridingProperties);
            }
        }