Метод | Описание | |
---|---|---|
Delete ( System.Guid id, bool publicAccess = false ) : void | ||
FileService ( ) : System | ||
Get ( System.Guid id, bool publicAccess = false ) : |
||
Save ( System.Web.HttpPostedFileBase file, bool publicAccess = false ) : |
Save a file and return the URL for that file
|
|
Save ( Stream originalStream, Stream modifiedStream, string contentType, bool publicAccess = false ) : |
Save two versions of the same file, but return the modified version for consumption
|
|
Save ( Stream stream, string contentType, bool publicAccess = false ) : |
Save a file and return the URL for that file
|
|
Update ( System.Guid imageId, System.Web.HttpPostedFileBase file, bool publicAccess = false ) : |
We'd like to have a new ID generated after updating, so just delete and save
|
Метод | Описание | |
---|---|---|
SetContentType ( ICloudBlob blob, string contentType ) : void |
public Delete ( System.Guid id, bool publicAccess = false ) : void | ||
id | System.Guid | |
publicAccess | bool | |
Результат | void |
public Get ( System.Guid id, bool publicAccess = false ) : |
||
id | System.Guid | |
publicAccess | bool | |
Результат |
public Save ( System.Web.HttpPostedFileBase file, bool publicAccess = false ) : |
||
file | System.Web.HttpPostedFileBase | |
publicAccess | bool | |
Результат |
public Save ( Stream originalStream, Stream modifiedStream, string contentType, bool publicAccess = false ) : |
||
originalStream | Stream | |
modifiedStream | Stream | |
contentType | string | |
publicAccess | bool | |
Результат |
public Save ( Stream stream, string contentType, bool publicAccess = false ) : |
||
stream | Stream | |
contentType | string | |
publicAccess | bool | |
Результат |
public Update ( System.Guid imageId, System.Web.HttpPostedFileBase file, bool publicAccess = false ) : |
||
imageId | System.Guid | |
file | System.Web.HttpPostedFileBase | |
publicAccess | bool | |
Результат |