C# Class ParkitectNexus.Data.Game.DownloadedAsset

Represents a Parkitect asset.
Inheritance: IDownloadedAsset
显示文件 Open project: ParkitectNexus/ParkitectNexusClient

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

DownloadedAsset ( string fileName, ApiAsset apiAsset, DownloadInfo info, Stream stream ) : System

Initializes a new instance of the DownloadedAsset class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool /// true to release both managed and unmanaged resources; false to release only unmanaged resources. ///
return void

DownloadedAsset() public method

Initializes a new instance of the DownloadedAsset class.
fileName or stream is null.
public DownloadedAsset ( string fileName, ApiAsset apiAsset, DownloadInfo info, Stream stream ) : System
fileName string Name of the file.
apiAsset ParkitectNexus.Data.Web.API.ApiAsset
info ParkitectNexus.Data.Assets.DownloadInfo
stream Stream The stream.
return System