IVirtualPathProviderGetCacheDependency Method 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.

Namespace: ContentStudio.Storage
Assembly: CS5Interfaces (in CS5Interfaces.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

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.
Remarks

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

Reference