CSAspNetVirtualPathProviderGetCacheDependency Method (String, IEnumerableString, DateTime) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Creates a cache dependency based on the specified virtual paths. This method is not implemented.

Namespace: ContentStudio.Site.Storage
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public CacheDependency GetCacheDependency(
	string virtualPath,
	IEnumerable<string> virtualPathDependencies,
	DateTime utcStart
)

Parameters

virtualPath
Type: SystemString
The path to the primary virtual resource.
virtualPathDependencies
Type: System.Collections.GenericIEnumerableString
An array of paths to other resources required by the primary virtual resource.
utcStart
Type: SystemDateTime
The UTC time at which the virtual resources were read.

Return Value

Type: CacheDependency
A CacheDependency object for the specified virtual resources.

Implements

IVirtualPathProviderGetCacheDependency(String, IEnumerableString, DateTime)
Remarks

To cache virtual resources for later use you must implement either the GetCacheDependency method or the GetFileHash(String, IEnumerableString) method.
See Also

Reference