C# 클래스 ParkitectNexus.Data.Assets.RemoteAssetRepository

Represents the online parkitect asset storage.
상속: IRemoteAssetRepository
파일 보기 프로젝트 열기: ParkitectNexus/ParkitectNexusClient

공개 메소드들

메소드 설명
DownloadAsset ( ApiAsset asset ) : Task

Downloads the asset.

GetLatestModTag ( IModAsset asset ) : Task

Gets the latest mod tag.

RemoteAssetRepository ( ILogger logger, IWebsite website, INexusWebClientFactory webClientFactory ) : System

비공개 메소드들

메소드 설명
ResolveDownloadInfo ( ApiAsset asset ) : DownloadInfo

메소드 상세

DownloadAsset() 공개 메소드

Downloads the asset.
the specified asset id is invalid
public DownloadAsset ( ApiAsset asset ) : Task
asset ParkitectNexus.Data.Web.API.ApiAsset The asset.
리턴 Task

GetLatestModTag() 공개 메소드

Gets the latest mod tag.
public GetLatestModTag ( IModAsset asset ) : Task
asset IModAsset The asset.
리턴 Task

RemoteAssetRepository() 공개 메소드

public RemoteAssetRepository ( ILogger logger, IWebsite website, INexusWebClientFactory webClientFactory ) : System
logger ILogger
website IWebsite
webClientFactory INexusWebClientFactory
리턴 System