C# 클래스 Nop.Services.Media.Extensions

Extensions
파일 보기 프로젝트 열기: JohnsonJohnsonYuan/firebox_nopcommerce-3.9

공개 메소드들

메소드 설명
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)

메소드 상세

GetDownloadBits() 공개 정적인 메소드

Gets the download binary array
public static GetDownloadBits ( HttpPostedFileBase postedFile ) : byte[]
postedFile HttpPostedFileBase Posted file
리턴 byte[]

GetPictureBits() 공개 정적인 메소드

Gets the picture binary array
public static GetPictureBits ( HttpPostedFileBase postedFile ) : byte[]
postedFile HttpPostedFileBase Posted file
리턴 byte[]

GetProductPicture() 공개 정적인 메소드

Get product picture (for shopping cart and order details pages)
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