protected override void OnPreRender(EventArgs e)
    {
        if (StopProcessing)
        {
            // Do nothing
        }
        else
        {
            if ((CMSContext.ViewMode == ViewModeEnum.LiveSite) && (CacheDependencies != ""))
            {
                base.OnPreRender(e);

                // Use default cache dependencies
                if (UseDefaultDependencies)
                {
                    CMSContext.AddDefaultOutputCacheDependencies();
                }

                // More than one dependency is set
                string[] dependencies = CacheDependencies.Split(new string[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries);
                CacheHelper.AddOutputCacheDependencies(dependencies);
            }
        }
    }