Class CacheController
Inheritance
System.Object
CacheController
Namespace: DotNetNuke.Entities.Urls
Assembly: DotNetNuke.dll
Syntax
public class CacheController : object
Methods
| Improve this Doc View SourceFlushFriendlyUrlSettingsFromCache()
Declaration
public static void FlushFriendlyUrlSettingsFromCache()
FlushPageIndexFromCache()
Declaration
public static void FlushPageIndexFromCache()
GetPortal(Int32, Boolean)
Returns a portal info object for the portal.
Declaration
public static PortalInfo GetPortal(int portalId, bool exceptionOnNull)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | portalId | |
| System.Boolean | exceptionOnNull |
Returns
| Type | Description |
|---|---|
| PortalInfo | A PortalInfo instance or null if the portal isn't found and |
Remarks
This method wraps the PortalController.GetPortal method, and adds a check if the result is null.
RemovedPageIndexCallBack(String, Object, CacheItemRemovedReason)
Declaration
public void RemovedPageIndexCallBack(string k, object v, CacheItemRemovedReason r)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | k | |
| System.Object | v | |
| CacheItemRemovedReason | r |