/// <summary> /// Get the cache dependency for an embedded resource /// </summary> /// <param name="virtualPath">The virtual path to the file</param> /// <param name="virtualPathDependencies">The virtual path dependencies associated with the cache dependency</param> /// <param name="utcStart">The start date</param> /// <returns>The cache dependency</returns> public override CacheDependency GetCacheDependency(string virtualPath, IEnumerable virtualPathDependencies, DateTime utcStart) { // Find the resource and return its cache dependency var resource = new EmbeddedResource(virtualPath); return resource.CacheDependency(utcStart); }
/// <summary> /// Get the cache dependency for an embedded resource /// </summary> /// <param name="virtualPath">The virtual path to the file</param> /// <param name="virtualPathDependencies">The virtual path dependencies associated with the cache dependency</param> /// <param name="utcStart">The start date</param> /// <returns>The cache dependency</returns> public override CacheDependency GetCacheDependency(string virtualPath, IEnumerable virtualPathDependencies, DateTime utcStart) { // Find the resource and return its cache dependency var resource = new EmbeddedResource(virtualPath); return(resource.CacheDependency(utcStart)); }