Class ExportContext
Context for export process.
Inherited Members
Namespace: Evergine.Assets.Exporters
Assembly: Evergine.Assets.dll
Syntax
public class ExportContext
Constructors
ExportContext(string, ProjectProfile, ContentDirectory, ContentDirectory)
Initializes a new instance of the ExportContext class.
Declaration
public ExportContext(string profileName, ProjectProfile projectProfile, ContentDirectory outputDirectory, ContentDirectory contentDirectory)
Parameters
Type | Name | Description |
---|---|---|
string | profileName | The export profile name. |
ProjectProfile | projectProfile | The project profile. |
ContentDirectory | outputDirectory | The output directory. |
ContentDirectory | contentDirectory | The project root content directory. |
ExportContext(string, ProjectProfile, ContentDirectory, ContentDirectory[])
Initializes a new instance of the ExportContext class.
Declaration
public ExportContext(string profileName, ProjectProfile projectProfile, ContentDirectory outputDirectory, ContentDirectory[] contentDirectories)
Parameters
Type | Name | Description |
---|---|---|
string | profileName | The export profile name. |
ProjectProfile | projectProfile | The project profile. |
ContentDirectory | outputDirectory | The output directory. |
ContentDirectory[] | contentDirectories | The project root content directories. |
ExportContext(string, string, ProjectProfile, ContentDirectory, ContentDirectory[])
Initializes a new instance of the ExportContext class.
Declaration
public ExportContext(string weprojFilePath, string profileName, ProjectProfile projectProfile, ContentDirectory outputDirectory, ContentDirectory[] contentDirectories)
Parameters
Type | Name | Description |
---|---|---|
string | weprojFilePath | The Evergine project file path. |
string | profileName | The export profile name. |
ProjectProfile | projectProfile | The project profile. |
ContentDirectory | outputDirectory | The output directory. |
ContentDirectory[] | contentDirectories | The project root content directories. |
Properties
Contents
Gets the project root content directories.
Declaration
public ContentDirectory[] Contents { get; }
Property Value
Type | Description |
---|---|
ContentDirectory[] |
EvergineProjectFilePath
Gets the Evergine project file path (weproj).
Declaration
public string EvergineProjectFilePath { get; }
Property Value
Type | Description |
---|---|
string |
Output
Gets the export directory, where the export output will be placed.
Declaration
public ContentDirectory Output { get; }
Property Value
Type | Description |
---|---|
ContentDirectory |
ProfileName
Gets the profile name used by the export. This value can be null or a non existing profile, and the default profile must be used.
Declaration
public string ProfileName { get; }
Property Value
Type | Description |
---|---|
string |
ProjectProfile
Gets the export project profile.
Declaration
public ProjectProfile ProjectProfile { get; }
Property Value
Type | Description |
---|---|
ProjectProfile |