Method | Description | |
---|---|---|
CreateFolder ( VirtoCommerce.Platform.Core.Asset.BlobFolder folder ) : void |
Create folder in file system within to base directory
|
|
FileSystemBlobProvider ( string connectionString ) : System | ||
GetAbsoluteUrl ( string relativeUrl ) : string | ||
OpenReadOnly ( string url ) : Stream |
Open blob by relative or absolute url
|
|
Remove ( string urls ) : void |
Remove folders and blobs by absolute or relative urls
|
|
Search ( string folderUrl, string keyword ) : VirtoCommerce.Platform.Core.Asset.BlobSearchResult |
Search folders and blobs in folder
|
|
Upload ( VirtoCommerce.Platform.Core.Asset.UploadStreamInfo request ) : string |
Method | Description | |
---|---|---|
GetAbsoluteStoragePathFromUrl ( string url ) : string | ||
GetAbsoluteUrlFromPath ( string path ) : string | ||
LoadFile ( string filePath ) : Stream | ||
UpdloadFile ( Stream stream, string filePath ) : void |
public CreateFolder ( VirtoCommerce.Platform.Core.Asset.BlobFolder folder ) : void | ||
folder | VirtoCommerce.Platform.Core.Asset.BlobFolder | |
return | void |
public FileSystemBlobProvider ( string connectionString ) : System | ||
connectionString | string | |
return | System |
public GetAbsoluteUrl ( string relativeUrl ) : string | ||
relativeUrl | string | |
return | string |
public Search ( string folderUrl, string keyword ) : VirtoCommerce.Platform.Core.Asset.BlobSearchResult | ||
folderUrl | string | absolute or relative path |
keyword | string | |
return | VirtoCommerce.Platform.Core.Asset.BlobSearchResult |
public Upload ( VirtoCommerce.Platform.Core.Asset.UploadStreamInfo request ) : string | ||
request | VirtoCommerce.Platform.Core.Asset.UploadStreamInfo | |
return | string |