Click or drag to resize

EmbeddedResourcePathProviderGetCacheDependency Method

Creates a cache dependency based on the specified virtual paths.

Namespace: GSF.Web.Hosting
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax
public override CacheDependency GetCacheDependency(
	string virtualPath,
	IEnumerable virtualPathDependencies,
	DateTime utcStart
)
View Source

Parameters

virtualPath  String
The path to the primary virtual resource.
virtualPathDependencies  IEnumerable
An array of paths to other resources required by the primary virtual resource.
utcStart  DateTime
The UTC time at which the virtual resources were read.

Return Value

CacheDependency
A CacheDependency object for the specified virtual resources.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if virtualPath is .
ArgumentOutOfRangeException Thrown if virtualPath is Empty.
See Also