|
| AzureVirtualPathProvider (string blobStorageConnection) |
|
bool | IsPathVirtual (string virtualPath) |
| Determines whether a specified virtual path is within the virtual file system. More...
|
|
override bool | FileExists (string virtualPath) |
| Internal usage only More...
|
|
override VirtualFile | GetFile (string virtualPath) |
| For internal use only More...
|
|
bool | FileExists (string virtualPath, System.Collections.Specialized.NameValueCollection queryString) |
| Returns true if the specified file is within the azure virtual directory prefix, and if it exists. Returns true even if the file doesn't exist when LazyExistenceCheck=true More...
|
|
IVirtualFile | GetFile (string virtualPath, System.Collections.Specialized.NameValueCollection queryString) |
|
bool | FileExists (string virtualPath, NameValueCollection queryString) |
| Returns true if the specified file exists. More...
|
|
IVirtualFile | GetFile (string virtualPath, NameValueCollection queryString) |
| Returns a virtual file instance for the specified path and querystring. More...
|
|
|
string | VirtualFilesystemPrefix [get, set] |
| Requests starting with this path will be handled by this virtual path provider. Can be in app-relative form: "~/azure/". Will be translated to domain-relative form. More...
|
|
bool | LazyExistenceCheck [get, set] |
| If true, More...
|
|
CloudBlobClient | CloudBlobClient [get, set] |
|
Definition at line 12 of file AzureVirtualPathProvider.cs.
override bool ImageResizer.Plugins.AzureReader.AzureVirtualPathProvider.FileExists |
( |
string |
virtualPath | ) |
|
|
inline |
Internal usage only
- Parameters
-
- Returns
Definition at line 72 of file AzureVirtualPathProvider.cs.
76 return Previous.FileExists(virtualPath);
override bool FileExists(string virtualPath)
Internal usage only
bool ImageResizer.Plugins.AzureReader.AzureVirtualPathProvider.FileExists |
( |
string |
virtualPath, |
|
|
System.Collections.Specialized.NameValueCollection |
queryString |
|
) |
| |
|
inline |
Returns true if the specified file is within the azure virtual directory prefix, and if it exists. Returns true even if the file doesn't exist when LazyExistenceCheck=true
- Parameters
-
- Returns
Definition at line 96 of file AzureVirtualPathProvider.cs.
101 string relativeBlobURL = virtualPath.Substring(VirtualFilesystemPrefix.Length).Trim(
'/',
'\\');
104 CloudBlob cloudBlob = CloudBlobClient.GetBlobReference(relativeBlobURL);
107 cloudBlob.FetchAttributes();
109 }
catch (StorageClientException e) {
110 if (e.ErrorCode == StorageErrorCode.ResourceNotFound) {
bool LazyExistenceCheck
If true,
bool IsPathVirtual(string virtualPath)
Determines whether a specified virtual path is within the virtual file system.
override VirtualFile ImageResizer.Plugins.AzureReader.AzureVirtualPathProvider.GetFile |
( |
string |
virtualPath | ) |
|
|
inline |
For internal use only
- Parameters
-
- Returns
Definition at line 85 of file AzureVirtualPathProvider.cs.
86 VirtualFile vf = (VirtualFile)
GetFile(virtualPath, null);
87 return (vf == null) ? Previous.GetFile(virtualPath) : vf;
override VirtualFile GetFile(string virtualPath)
For internal use only
bool ImageResizer.Plugins.AzureReader.AzureVirtualPathProvider.IsPathVirtual |
( |
string |
virtualPath | ) |
|
|
inline |
Determines whether a specified virtual path is within the virtual file system.
- Parameters
-
virtualPath | An absolute virtual path. |
- Returns
- True if the virtual path is within the virtual file sytem; otherwise, false.
Definition at line 64 of file AzureVirtualPathProvider.cs.
string VirtualFilesystemPrefix
Requests starting with this path will be handled by this virtual path provider. Can be in app-relativ...
bool ImageResizer.Plugins.AzureReader.AzureVirtualPathProvider.LazyExistenceCheck |
|
getset |
string ImageResizer.Plugins.AzureReader.AzureVirtualPathProvider.VirtualFilesystemPrefix |
|
getset |
Requests starting with this path will be handled by this virtual path provider. Can be in app-relative form: "~/azure/". Will be translated to domain-relative form.
Definition at line 21 of file AzureVirtualPathProvider.cs.
The documentation for this class was generated from the following file: