Class GeneratedFile<TAsset, TFile>
Base class for generated assets: images, audios, and videos.
These assets are 'files' that can be downloaded and used in the application.
Inheritance
object
GeneratedFile<TAsset, TFile>
Assembly: .dll
Syntax
public abstract class GeneratedFile<TAsset, TFile> : GeneratedResult<TAsset>, IGeneratedFile, IGeneratedResult where TFile : RawFile
Type Parameters
Name |
Description |
TAsset |
|
TFile |
|
Constructors
GeneratedFile(TAsset, string, Usage)
Declaration
protected GeneratedFile(TAsset asset, string path, Usage usage = null)
Parameters
Type |
Name |
Description |
TAsset |
asset |
|
string |
path |
|
Usage |
usage |
|
GeneratedFile(TAsset[], string[], Usage)
Declaration
protected GeneratedFile(TAsset[] asset, string[] paths, Usage usage = null)
Parameters
Type |
Name |
Description |
TAsset[] |
asset |
|
string[] |
paths |
|
Usage |
usage |
|
Fields
fileNote
Declaration
Field Value
Properties
this[string]
Declaration
public string this[string path] { get; }
Parameters
Type |
Name |
Description |
string |
path |
|
Property Value
Paths
Declaration
public string[] Paths { get; }
Property Value
Type |
Description |
string[] |
|
Methods
SetNote(string)
Declaration
public void SetNote(string note)
Parameters
Type |
Name |
Description |
string |
note |
|
ToFiles()
Declaration
public abstract IFile[] ToFiles()
Returns
Implements