Interface ISaveAsService
A service used to present a save as dialog for the project file system.
Namespace: Gorgon.Editor.Services
Assembly: Gorgon.Editor.API.dll
Syntax
public interface ISaveAsService
Methods
| Edit this page View SourceSaveAs(string, string, string)
Function to present a means of providing a path for a save as operation.
Declaration
string SaveAs(string currentFileName, string filesOfType, string typeKey = "Type")
Parameters
Type | Name | Description |
---|---|---|
string | currentFileName | The current file name. |
string | filesOfType | The extension to search for. |
string | typeKey | [Optional] The key to check in the file metadata for the file type. |
Returns
Type | Description |
---|---|
string | The selected file path to save the file as. |