메소드 | 설명 | |
---|---|---|
GetDownloadBits ( HttpPostedFileBase postedFile ) : byte[] |
Gets the download binary array
|
|
GetPictureBits ( HttpPostedFileBase postedFile ) : byte[] |
Gets the picture binary array
|
|
GetProductPicture ( Product product, string attributesXml, IPictureService pictureService, IProductAttributeParser productAttributeParser ) : Picture |
Get product picture (for shopping cart and order details pages)
|
public static GetDownloadBits ( HttpPostedFileBase postedFile ) : byte[] | ||
postedFile | HttpPostedFileBase | Posted file |
리턴 | byte[] |
public static GetPictureBits ( HttpPostedFileBase postedFile ) : byte[] | ||
postedFile | HttpPostedFileBase | Posted file |
리턴 | byte[] |
public static GetProductPicture ( Product product, string attributesXml, IPictureService pictureService, IProductAttributeParser productAttributeParser ) : Picture | ||
product | Product | Product |
attributesXml | string | Atributes (in XML format) |
pictureService | IPictureService | Picture service |
productAttributeParser | IProductAttributeParser | Product attribute service |
리턴 | Picture |