A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://apidocs.umbraco.com/v15/csharp/api/Umbraco.Cms.Core.Services.IScriptService.html below:

View Source Interface IScriptService Namespace: Umbraco.Cms.Core.Services Assembly: Umbraco.Core.dll Syntax
public interface IScriptService : IBasicFileService<IScript>
Methods View Source CreateAsync(ScriptCreateModel, Guid)

Creates a new script.

Declaration
Task<Attempt<IScript, ScriptOperationStatus>> CreateAsync(ScriptCreateModel createModel, Guid userKey)
Parameters Type Name Description ScriptCreateModel createModel

ScriptCreateModel containing the information about the script being created.

Guid userKey

The key of the user performing the operation.

Returns View Source DeleteAsync(String, Guid)

Deletes a Script.

Declaration
Task<ScriptOperationStatus> DeleteAsync(string path, Guid userKey)
Parameters Type Name Description System.String path

The path of the script to delete.

Guid userKey

The key of the user performing the operation.

Returns View Source RenameAsync(String, ScriptRenameModel, Guid)

Renames a script.

Declaration
Task<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 renameModel

A ScriptRenameModel with the changes.

Guid userKey

The key of the user performing the operation.

Returns View Source UpdateAsync(String, ScriptUpdateModel, Guid)

Updates an existing script.

Declaration
Task<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 updateModel

A ScriptUpdateModel with the changes.

Guid userKey

The key of the user performing the operation.

Returns

RetroSearch 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