Method | Description | |
---|---|---|
ConvertToImageData ( MongoDB.Driver.GridFS.MongoGridFSFileInfo gridFsInfo ) : |
||
DownloadImageOfDish ( string restId, int menuPartId, int dishId, string imgId, string &contentType ) : Stream | ||
GetImageData ( |
||
GetImageData ( string imageId ) : Stream | ||
GetImageDataById ( string id ) : |
||
ImageServices ( ) : System | ||
UploadImageToDish ( |
||
UploadImageToDish ( string restId, int menuPartId, int dishId ) : bool | ||
UploadImageToDish ( string restId, int menuPartId, int dishId, System file ) : void | ||
UploadImageToRestaurant ( |
||
UploadImageToRestaurant ( string restId, System file ) : void | ||
UploadRestaurantDishesImages ( string restId ) : bool | ||
getUrlContentType ( string url ) : string | ||
urlToStream ( string imageUrl ) : Stream |
public static ConvertToImageData ( MongoDB.Driver.GridFS.MongoGridFSFileInfo gridFsInfo ) : |
||
gridFsInfo | MongoDB.Driver.GridFS.MongoGridFSFileInfo | |
return |
public DownloadImageOfDish ( string restId, int menuPartId, int dishId, string imgId, string &contentType ) : Stream | ||
restId | string | |
menuPartId | int | |
dishId | int | |
imgId | string | |
contentType | string | |
return | Stream |
public GetImageData ( |
||
imageData | ||
return | Stream |
public GetImageData ( string imageId ) : Stream | ||
imageId | string | |
return | Stream |
public GetImageDataById ( string id ) : |
||
id | string | |
return |
public UploadImageToDish ( |
||
dish | ||
restId | string | |
menuPartId | int | |
imageUrl | string | |
return | bool |
public UploadImageToDish ( string restId, int menuPartId, int dishId ) : bool | ||
restId | string | |
menuPartId | int | |
dishId | int | |
return | bool |
public UploadImageToDish ( string restId, int menuPartId, int dishId, System file ) : void | ||
restId | string | |
menuPartId | int | |
dishId | int | |
file | System | |
return | void |
public UploadImageToRestaurant ( |
||
rest | ||
imageUrl | string | |
return | bool |
public UploadImageToRestaurant ( string restId, System file ) : void | ||
restId | string | |
file | System | |
return | void |
public UploadRestaurantDishesImages ( string restId ) : bool | ||
restId | string | |
return | bool |
public static getUrlContentType ( string url ) : string | ||
url | string | |
return | string |
public static urlToStream ( string imageUrl ) : Stream | ||
imageUrl | string | |
return | Stream |