private bool ShouldUsePrevious(string virtualPath, EmbeddedResource resource)
 {
     return(base.FileExists(virtualPath) && UseLocalIfAvailable(resource));
 }
Пример #2
0
 public EmbeddedResourceVirtualFile(string virtualPath, EmbeddedResource embedded, EmbeddedResourceCacheControl cacheControl)
     : base(virtualPath)
 {
     this.Embedded      = embedded;
     this._cacheControl = cacheControl;
 }
 private bool ShouldUsePrevious(string virtualPath, EmbeddedResource resource)
 {
     return base.FileExists(virtualPath) && UseLocalIfAvailable(resource);
 }
 public EmbeddedResourceVirtualFile(string virtualPath, EmbeddedResource embedded, EmbeddedResourceCacheControl cacheControl)
     : base(virtualPath)
 {
     this.embedded = embedded;
     this.cacheControl = cacheControl;
 }
 public EmbeddedResourceVirtualFile(string virtualPath, EmbeddedResource embedded)
     : base(virtualPath)
 {
     this.embedded = embedded;
 }
 public EmbeddedResourceVirtualFile(string virtualPath, EmbeddedResource embedded)
     : base(virtualPath)
 {
     this.embedded = embedded;
 }