C# 클래스 YouScribe.Rest.ProductRequest

상속: YouScribeRequest, IProductRequest
파일 보기 프로젝트 열기: Youscribe/YouscribeNet 1 사용 예제들

공개 메소드들

메소드 설명
DownloadExtractAsync ( int productId, int formatTypeId ) : Task
DownloadExtractAsync ( int productId, string extension ) : Task
DownloadExtractToStreamAsync ( int productId, int formatTypeId, Stream writer, IProgress progressReport ) : System.Threading.Tasks.Task
DownloadExtractToStreamAsync ( int productId, string extension, Stream writer, IProgress progressReport ) : System.Threading.Tasks.Task
DownloadFileAsync ( int productId, int formatTypeId ) : Task
DownloadFileAsync ( int productId, string extension ) : Task
DownloadFileToStreamAsync ( int productId, int formatTypeId, Stream writer, IProgress progressReport ) : System.Threading.Tasks.Task
DownloadFileToStreamAsync ( int productId, string extension, Stream writer, IProgress progressReport ) : System.Threading.Tasks.Task
GetAsync ( IEnumerable ids ) : Task>
GetAsync ( int id ) : Task
GetAsyncV2 ( IEnumerable ids ) : Task>
GetAsyncV2 ( int id ) : Task
GetProductUrlsAsync ( IEnumerable ids ) : Task>
GetRightAsync ( IEnumerable productId ) : Task>
GetRightAsync ( int productId ) : Task
ProductRequest ( Func clientFactory, ITokenProvider authorizeTokenProvider ) : System
PublishDocumentAsync ( ProductModel productInformation, IEnumerable files ) : Task
PublishDocumentAsync ( ProductModel productInformation, IEnumerable filesUri ) : Task
UpdateDocumentAsync ( int productId, ProductUpdateModel productInformation ) : Task
UpdateDocumentAsync ( int productId, ProductUpdateModel productInformation, IEnumerable files ) : Task
UpdateDocumentAsync ( int productId, ProductUpdateModel productInformation, IEnumerable filesUri ) : Task
UpdateDocumentThumbnailAsync ( int productId, FileModel image ) : Task
UpdateDocumentThumbnailAsync ( int productId, Uri imageUri ) : Task
UpdateDocumentThumbnailAsync ( int productId, int page ) : Task

보호된 메소드들

메소드 설명
DownloadFileToStreamAsync ( string url, Stream writer, IProgress progressReport ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
GetAsync ( string url, IEnumerable ids ) : Task>
GetAsync ( string url, int id ) : Task
finalizeUdateAsync ( int productId ) : Task
publishDocumentAsync ( ProductModel productInformation, IEnumerable files ) : Task
updateDocumentAsync ( int productId, ProductUpdateModel productInformation ) : Task
uploadFilesAsync ( int productId, IEnumerable files ) : Task
uploadFilesAsync ( int productId, IEnumerable files ) : Task

메소드 상세

DownloadExtractAsync() 공개 메소드

public DownloadExtractAsync ( int productId, int formatTypeId ) : Task
productId int
formatTypeId int
리턴 Task

DownloadExtractAsync() 공개 메소드

public DownloadExtractAsync ( int productId, string extension ) : Task
productId int
extension string
리턴 Task

DownloadExtractToStreamAsync() 공개 메소드

public DownloadExtractToStreamAsync ( int productId, int formatTypeId, Stream writer, IProgress progressReport ) : System.Threading.Tasks.Task
productId int
formatTypeId int
writer Stream
progressReport IProgress
리턴 System.Threading.Tasks.Task

DownloadExtractToStreamAsync() 공개 메소드

public DownloadExtractToStreamAsync ( int productId, string extension, Stream writer, IProgress progressReport ) : System.Threading.Tasks.Task
productId int
extension string
writer Stream
progressReport IProgress
리턴 System.Threading.Tasks.Task

DownloadFileAsync() 공개 메소드

public DownloadFileAsync ( int productId, int formatTypeId ) : Task
productId int
formatTypeId int
리턴 Task

DownloadFileAsync() 공개 메소드

public DownloadFileAsync ( int productId, string extension ) : Task
productId int
extension string
리턴 Task

DownloadFileToStreamAsync() 공개 메소드

public DownloadFileToStreamAsync ( int productId, int formatTypeId, Stream writer, IProgress progressReport ) : System.Threading.Tasks.Task
productId int
formatTypeId int
writer Stream
progressReport IProgress
리턴 System.Threading.Tasks.Task

DownloadFileToStreamAsync() 공개 메소드

public DownloadFileToStreamAsync ( int productId, string extension, Stream writer, IProgress progressReport ) : System.Threading.Tasks.Task
productId int
extension string
writer Stream
progressReport IProgress
리턴 System.Threading.Tasks.Task

DownloadFileToStreamAsync() 보호된 메소드

protected DownloadFileToStreamAsync ( string url, Stream writer, IProgress progressReport ) : System.Threading.Tasks.Task
url string
writer Stream
progressReport IProgress
리턴 System.Threading.Tasks.Task

GetAsync() 공개 메소드

public GetAsync ( IEnumerable ids ) : Task>
ids IEnumerable
리턴 Task>

GetAsync() 공개 메소드

public GetAsync ( int id ) : Task
id int
리턴 Task

GetAsyncV2() 공개 메소드

public GetAsyncV2 ( IEnumerable ids ) : Task>
ids IEnumerable
리턴 Task>

GetAsyncV2() 공개 메소드

public GetAsyncV2 ( int id ) : Task
id int
리턴 Task

GetProductUrlsAsync() 공개 메소드

public GetProductUrlsAsync ( IEnumerable ids ) : Task>
ids IEnumerable
리턴 Task>

GetRightAsync() 공개 메소드

public GetRightAsync ( IEnumerable productId ) : Task>
productId IEnumerable
리턴 Task>

GetRightAsync() 공개 메소드

public GetRightAsync ( int productId ) : Task
productId int
리턴 Task

ProductRequest() 공개 메소드

public ProductRequest ( Func clientFactory, ITokenProvider authorizeTokenProvider ) : System
clientFactory Func
authorizeTokenProvider ITokenProvider
리턴 System

PublishDocumentAsync() 공개 메소드

public PublishDocumentAsync ( ProductModel productInformation, IEnumerable files ) : Task
productInformation YouScribe.Rest.Models.Products.ProductModel
files IEnumerable
리턴 Task

PublishDocumentAsync() 공개 메소드

public PublishDocumentAsync ( ProductModel productInformation, IEnumerable filesUri ) : Task
productInformation YouScribe.Rest.Models.Products.ProductModel
filesUri IEnumerable
리턴 Task

UpdateDocumentAsync() 공개 메소드

public UpdateDocumentAsync ( int productId, ProductUpdateModel productInformation ) : Task
productId int
productInformation YouScribe.Rest.Models.Products.ProductUpdateModel
리턴 Task

UpdateDocumentAsync() 공개 메소드

public UpdateDocumentAsync ( int productId, ProductUpdateModel productInformation, IEnumerable files ) : Task
productId int
productInformation YouScribe.Rest.Models.Products.ProductUpdateModel
files IEnumerable
리턴 Task

UpdateDocumentAsync() 공개 메소드

public UpdateDocumentAsync ( int productId, ProductUpdateModel productInformation, IEnumerable filesUri ) : Task
productId int
productInformation YouScribe.Rest.Models.Products.ProductUpdateModel
filesUri IEnumerable
리턴 Task

UpdateDocumentThumbnailAsync() 공개 메소드

public UpdateDocumentThumbnailAsync ( int productId, FileModel image ) : Task
productId int
image YouScribe.Rest.Models.FileModel
리턴 Task

UpdateDocumentThumbnailAsync() 공개 메소드

public UpdateDocumentThumbnailAsync ( int productId, Uri imageUri ) : Task
productId int
imageUri System.Uri
리턴 Task

UpdateDocumentThumbnailAsync() 공개 메소드

public UpdateDocumentThumbnailAsync ( int productId, int page ) : Task
productId int
page int
리턴 Task