C# 클래스 Bukimedia.PrestaSharp.Factories.ImageFactory

상속: RestSharpFactory
파일 보기 프로젝트 열기: Bukimedia/PrestaSharp 1 사용 예제들

공개 메소드들

메소드 설명
AddCategoryImage ( long CategoryId, byte CategoryImage ) : void
AddCategoryImage ( long CategoryId, string CategoryImagePath ) : void
AddManufacturerImage ( long ManufacturerId, byte ManufacturerImage ) : void
AddManufacturerImage ( long ManufacturerId, string ManufacturerImagePath ) : void
AddProductImage ( long ProductId, byte ProductImage ) : void
AddProductImage ( long ProductId, string ProductImagePath ) : void
DeleteCategoryImage ( long CategoryID ) : void
DeleteManufacturerImage ( long ManufacturerId ) : void
DeleteProductImage ( long ProductId, long ImageId ) : void
GetAllCategoryImages ( ) : List
GetAllManufacturerImages ( ) : List
GetAllProductImages ( ) : List
GetCategoryImage ( long CategoryId, long ImageId ) : byte[]
GetManufacturerImage ( long ManufacturerId, long ImageId ) : byte[]
GetProductImage ( long ProductId, long ImageId ) : byte[]
GetProductImages ( long ProductId ) : List
ImageFactory ( string BaseUrl, string Account, string SecretKey ) : System
UpdateCategoryImage ( long CategoryId, string CategoryImagePath ) : void
UpdateManufacturerImage ( long ManufacturerId, string ManufacturerImagePath ) : void
UpdateProductImage ( long ProductId, long ImageId, string ProductImagePath ) : void

보호된 메소드들

메소드 설명
AddImage ( string Resource, long Id, byte Image ) : void
AddImage ( string Resource, long Id, string ImagePath ) : void
DeleteImage ( string Resource, long ResourceId, long ImageId ) : void
GetAllImages ( string Resource ) : List
GetImagesByInstance ( string Resource, long Id ) : List
UpdateImage ( string Resource, long ResourceId, long ImageId, string ImagePath ) : void

메소드 상세

AddCategoryImage() 공개 메소드

public AddCategoryImage ( long CategoryId, byte CategoryImage ) : void
CategoryId long
CategoryImage byte
리턴 void

AddCategoryImage() 공개 메소드

public AddCategoryImage ( long CategoryId, string CategoryImagePath ) : void
CategoryId long
CategoryImagePath string
리턴 void

AddImage() 보호된 메소드

protected AddImage ( string Resource, long Id, byte Image ) : void
Resource string
Id long
Image byte
리턴 void

AddImage() 보호된 메소드

protected AddImage ( string Resource, long Id, string ImagePath ) : void
Resource string
Id long
ImagePath string
리턴 void

AddManufacturerImage() 공개 메소드

public AddManufacturerImage ( long ManufacturerId, byte ManufacturerImage ) : void
ManufacturerId long
ManufacturerImage byte
리턴 void

AddManufacturerImage() 공개 메소드

public AddManufacturerImage ( long ManufacturerId, string ManufacturerImagePath ) : void
ManufacturerId long
ManufacturerImagePath string
리턴 void

AddProductImage() 공개 메소드

public AddProductImage ( long ProductId, byte ProductImage ) : void
ProductId long
ProductImage byte
리턴 void

AddProductImage() 공개 메소드

public AddProductImage ( long ProductId, string ProductImagePath ) : void
ProductId long
ProductImagePath string
리턴 void

DeleteCategoryImage() 공개 메소드

public DeleteCategoryImage ( long CategoryID ) : void
CategoryID long
리턴 void

DeleteImage() 보호된 메소드

protected DeleteImage ( string Resource, long ResourceId, long ImageId ) : void
Resource string
ResourceId long
ImageId long
리턴 void

DeleteManufacturerImage() 공개 메소드

public DeleteManufacturerImage ( long ManufacturerId ) : void
ManufacturerId long
리턴 void

DeleteProductImage() 공개 메소드

public DeleteProductImage ( long ProductId, long ImageId ) : void
ProductId long
ImageId long
리턴 void

GetAllCategoryImages() 공개 메소드

public GetAllCategoryImages ( ) : List
리턴 List

GetAllImages() 보호된 메소드

protected GetAllImages ( string Resource ) : List
Resource string
리턴 List

GetAllManufacturerImages() 공개 메소드

public GetAllManufacturerImages ( ) : List
리턴 List

GetAllProductImages() 공개 메소드

public GetAllProductImages ( ) : List
리턴 List

GetCategoryImage() 공개 메소드

public GetCategoryImage ( long CategoryId, long ImageId ) : byte[]
CategoryId long
ImageId long
리턴 byte[]

GetImagesByInstance() 보호된 메소드

protected GetImagesByInstance ( string Resource, long Id ) : List
Resource string
Id long
리턴 List

GetManufacturerImage() 공개 메소드

public GetManufacturerImage ( long ManufacturerId, long ImageId ) : byte[]
ManufacturerId long
ImageId long
리턴 byte[]

GetProductImage() 공개 메소드

public GetProductImage ( long ProductId, long ImageId ) : byte[]
ProductId long
ImageId long
리턴 byte[]

GetProductImages() 공개 메소드

public GetProductImages ( long ProductId ) : List
ProductId long
리턴 List

ImageFactory() 공개 메소드

public ImageFactory ( string BaseUrl, string Account, string SecretKey ) : System
BaseUrl string
Account string
SecretKey string
리턴 System

UpdateCategoryImage() 공개 메소드

public UpdateCategoryImage ( long CategoryId, string CategoryImagePath ) : void
CategoryId long
CategoryImagePath string
리턴 void

UpdateImage() 보호된 메소드

protected UpdateImage ( string Resource, long ResourceId, long ImageId, string ImagePath ) : void
Resource string
ResourceId long
ImageId long
ImagePath string
리턴 void

UpdateManufacturerImage() 공개 메소드

public UpdateManufacturerImage ( long ManufacturerId, string ManufacturerImagePath ) : void
ManufacturerId long
ManufacturerImagePath string
리턴 void

UpdateProductImage() 공개 메소드

public UpdateProductImage ( long ProductId, long ImageId, string ProductImagePath ) : void
ProductId long
ImageId long
ProductImagePath string
리턴 void