WipePageOut() public static method

Removes any occurrence of a Page from the redirection table, both on sources and destinations.
This method is useful when removing a Page.
public static WipePageOut ( System.PageInfo page ) : void
page System.PageInfo The Page to wipe-out.
return void
Ejemplo n.º 1
0
 /// <summary>
 /// Invalidates the cached Content of a Page.
 /// </summary>
 /// <param name="pageInfo">The Page to invalidate the cached content of.</param>
 public static void InvalidatePage(PageInfo pageInfo)
 {
     Cache.RemovePage(pageInfo);
     Redirections.WipePageOut(pageInfo);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Invalidates the cached Content of a Page.
 /// </summary>
 /// <param name="pageInfo">The Page to invalidate the cached content of.</param>
 public static void InvalidatePage(PageInfo pageInfo)
 {
     Cache.RemovePage(pageInfo);
     Redirections.WipePageOut(pageInfo);
     pageInfo.Provider.RemoveContentCache(pageInfo);
 }