Class ExportResult
A class representing the export result.
Inherited Members
Namespace: Evergine.Assets.Exporters
Assembly: Evergine.Assets.dll
Syntax
public class ExportResult
Constructors
ExportResult(bool, ContentElement)
Initializes a new instance of the ExportResult class.
Declaration
public ExportResult(bool succeeded, ContentElement outputElement)
Parameters
Type | Name | Description |
---|---|---|
bool | succeeded | If the export was successful. |
ContentElement | outputElement | The output file. |
ExportResult(bool, ContentElement, List<AssetPart>)
Initializes a new instance of the ExportResult class.
Declaration
public ExportResult(bool succeeded, ContentElement outputElement, List<AssetPart> assetParts)
Parameters
Type | Name | Description |
---|---|---|
bool | succeeded | If the export was successful. |
ContentElement | outputElement | The output file. |
List<AssetPart> | assetParts | The asset parts. |
ExportResult(bool, ContentElement, List<AssetPart>, DateTime)
Initializes a new instance of the ExportResult class.
Declaration
public ExportResult(bool succeeded, ContentElement outputElement, List<AssetPart> assetParts, DateTime exportTime)
Parameters
Type | Name | Description |
---|---|---|
bool | succeeded | If the export was successful. |
ContentElement | outputElement | The output file. |
List<AssetPart> | assetParts | The asset parts. |
DateTime | exportTime | The export time. |
ExportResult(bool, ContentElement, DateTime)
Initializes a new instance of the ExportResult class.
Declaration
public ExportResult(bool succeeded, ContentElement outputElement, DateTime exportTime)
Parameters
Type | Name | Description |
---|---|---|
bool | succeeded | If the export was successful. |
ContentElement | outputElement | The output file. |
DateTime | exportTime | The export time. |
ExportResult(Exception)
Initializes a new instance of the ExportResult class.
Declaration
public ExportResult(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
Exception | exception | The exception. |
Fields
AssetParts
The asset parts.
Declaration
public List<AssetPart> AssetParts
Field Value
Type | Description |
---|---|
List<AssetPart> |
Exception
Gets the export exception (if there is one).
Declaration
public Exception Exception
Field Value
Type | Description |
---|---|
Exception |
ExportTime
Gets the export time.
Declaration
public DateTime ExportTime
Field Value
Type | Description |
---|---|
DateTime |
OutputElement
Gets the output export file.
Declaration
public ContentElement OutputElement
Field Value
Type | Description |
---|---|
ContentElement |
Succeded
Gets a value indicating whether the export was a success.
Declaration
public bool Succeded
Field Value
Type | Description |
---|---|
bool |