public interface IScriptService : IBasicFileService<IScript>
Methods View Source CreateAsync(ScriptCreateModel, Guid)
Creates a new script.
DeclarationTask<Attempt<IScript, ScriptOperationStatus>> CreateAsync(ScriptCreateModel createModel, Guid userKey)
Parameters Type Name Description ScriptCreateModel createModel
ScriptCreateModel containing the information about the script being created.
Guid userKeyThe key of the user performing the operation.
Returns View Source DeleteAsync(String, Guid)Deletes a Script.
DeclarationTask<ScriptOperationStatus> DeleteAsync(string path, Guid userKey)
Parameters Type Name Description System.String path
The path of the script to delete.
Guid userKeyThe key of the user performing the operation.
Returns View Source RenameAsync(String, ScriptRenameModel, Guid)Renames a script.
DeclarationTask<Attempt<IScript, ScriptOperationStatus>> RenameAsync(string path, ScriptRenameModel renameModel, Guid userKey)
Parameters Type Name Description System.String path
The path of the script to rename.
ScriptRenameModel renameModelA ScriptRenameModel with the changes.
Guid userKeyThe key of the user performing the operation.
Returns View Source UpdateAsync(String, ScriptUpdateModel, Guid)Updates an existing script.
DeclarationTask<Attempt<IScript, ScriptOperationStatus>> UpdateAsync(string path, ScriptUpdateModel updateModel, Guid userKey)
Parameters Type Name Description System.String path
The path of the script to update.
ScriptUpdateModel updateModelA ScriptUpdateModel with the changes.
Guid userKeyThe key of the user performing the operation.
ReturnsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4