Interface IEditorContentImporter
A custom importer for content data.
Namespace: Gorgon.Editor.Services
Assembly: Gorgon.Editor.API.dll
Syntax
public interface IEditorContentImporter
Methods
| Edit this page View SourceCleanUp()
Function to clean up any temporary working data.
Declaration
void CleanUp()
ImportData(string, CancellationToken)
Function to import content.
Declaration
IGorgonVirtualFile ImportData(string physicalFilePath, CancellationToken cancelToken)
Parameters
Type | Name | Description |
---|---|---|
string | physicalFilePath | The path to the physical file to import into the virtual file system. |
CancellationToken | cancelToken | The token used to cancel the operation. |
Returns
Type | Description |
---|---|
IGorgonVirtualFile | A new virtual file object pointing to the imported file data. |