Exemple #1
0
        /// <inheritdoc />
        /// <summary>
        /// Overridden. <inherited />
        /// </summary>
        protected override void Reset(ConfigurationElement parentElement)
        {
            UploadStreamProviderElement settings = parentElement as UploadStreamProviderElement;

            if (settings != null)
            {
                settings.UpdatePropertyCollection();
            }

            base.Reset(parentElement);
        }
Exemple #2
0
        /// <inheritdoc />
        /// <summary>
        /// Overridden. <inherited />
        /// </summary>
        protected override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode)
        {
            UploadStreamProviderElement settings = parentElement as UploadStreamProviderElement;

            if (settings != null)
            {
                settings.UpdatePropertyCollection();
            }

            UploadStreamProviderElement settings2 = sourceElement as UploadStreamProviderElement;

            if (settings2 != null)
            {
                settings2.UpdatePropertyCollection();
            }

            base.Unmerge(sourceElement, parentElement, saveMode);

            UpdatePropertyCollection();
        }