C# 클래스 WaMedia.Common.Implementations.AssetService

상속: IAssetService
파일 보기 프로젝트 열기: astaykov/WaMediaWeb

공개 메소드들

메소드 설명
AssetService ( IMediaService mediaService ) : System
AssignThumbnail ( string assetId ) : void
CopyFromBlob ( string destinationSasUri, string srcBlobSasUri ) : void
CreateAsset ( string pathToFile ) : void

Creates the asset. Note, there is a breaking change in the new SDK! You have to first create the Asset, which is always empty. Then create a file within that asset, then upload a content the newly created file

CreateEmptyAsset ( string name ) : void
DeleteAsset ( string assetId ) : void
GetAssetById ( string assetId ) : Models.Asset
Publish ( string assetId ) : void
Rename ( string assetId, string newName ) : void

비공개 메소드들

메소드 설명
ThumbnailUrl ( IAsset asset ) : string

메소드 상세

AssetService() 공개 메소드

public AssetService ( IMediaService mediaService ) : System
mediaService IMediaService
리턴 System

AssignThumbnail() 공개 메소드

public AssignThumbnail ( string assetId ) : void
assetId string
리턴 void

CopyFromBlob() 공개 메소드

public CopyFromBlob ( string destinationSasUri, string srcBlobSasUri ) : void
destinationSasUri string
srcBlobSasUri string
리턴 void

CreateAsset() 공개 메소드

Creates the asset. Note, there is a breaking change in the new SDK! You have to first create the Asset, which is always empty. Then create a file within that asset, then upload a content the newly created file
public CreateAsset ( string pathToFile ) : void
pathToFile string The path to file.
리턴 void

CreateEmptyAsset() 공개 메소드

public CreateEmptyAsset ( string name ) : void
name string
리턴 void

DeleteAsset() 공개 메소드

public DeleteAsset ( string assetId ) : void
assetId string
리턴 void

GetAssetById() 공개 메소드

public GetAssetById ( string assetId ) : Models.Asset
assetId string
리턴 Models.Asset

Publish() 공개 메소드

public Publish ( string assetId ) : void
assetId string
리턴 void

Rename() 공개 메소드

public Rename ( string assetId, string newName ) : void
assetId string
newName string
리턴 void