LooseFileAssetProvider

Provides access to asset content stored as a loose file on disk.

Remarks

Initializes a new instance of the LooseFileAssetProvider class.

Properties

FilePath

(string) { get; set } = filePath: Gets or sets the file path of the asset.

ContentKey

(string) = string.IsNullOrWhiteSpace(contentKey) ? filePath : contentKey

StorageKind

(AssetStorageKind)

Exists

(bool)

Length

(long?)

Public Methods

GetAssetStream

public Stream GetAssetStream()

Returns: Stream