public void Enhanced_10000_Children()
 {
     XmlPublishedContent.InitializeNode(_xml10000.DocumentElement, false, false,
                                        out id, out key, out template, out sortOrder, out name, out writerName, out urlName,
                                        out creatorName, out creatorId, out writerId, out docTypeAlias, out nodeType, out path,
                                        out version, out createDate, out updateDate, out level, out isDraft, out publishedContentType,
                                        out properties, GetPublishedContentType);
 }
 private void ClearCaches()
 {
     ApplicationContext.Current.ApplicationCache.ClearPartialViewCache();
     XmlPublishedContent.ClearRequest();
     DistributedCache.Instance.ClearAllMacroCacheOnCurrentServer();
     DistributedCache.Instance.ClearXsltCacheOnCurrentServer();
     ClearAllIsolatedCacheByEntityType <PublicAccessEntry>();
 }
 /// <summary>
 /// Refreshes the cache for the node with specified id
 /// </summary>
 /// <param name="id">The id.</param>
 public override void Refresh(int id)
 {
     ApplicationContext.Current.ApplicationCache.ClearPartialViewCache();
     content.Instance.UpdateDocumentCache(id);
     XmlPublishedContent.ClearRequest();
     DistributedCache.Instance.ClearAllMacroCacheOnCurrentServer();
     DistributedCache.Instance.ClearXsltCacheOnCurrentServer();
     base.Refresh(id);
 }
 public override void Remove(IContent instance)
 {
     ApplicationContext.Current.ApplicationCache.ClearPartialViewCache();
     content.Instance.ClearDocumentCache(new Document(instance), false);
     XmlPublishedContent.ClearRequest();
     DistributedCache.Instance.ClearAllMacroCacheOnCurrentServer();
     DistributedCache.Instance.ClearXsltCacheOnCurrentServer();
     ClearAllIsolatedCacheByEntityType <PublicAccessEntry>();
     base.Remove(instance);
 }
 /// <summary>
 /// Refreshes all nodes in umbraco.
 /// </summary>
 public override void RefreshAll()
 {
     content.Instance.RefreshContentFromDatabase();
     XmlPublishedContent.ClearRequest();
     base.RefreshAll();
 }