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.IPartialViewService.html below:

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

Creates a new partial view.

Declaration
Task<Attempt<IPartialView, PartialViewOperationStatus>> CreateAsync(PartialViewCreateModel createModel, Guid userKey)
Parameters Returns View Source DeleteAsync(String, Guid)

Deletes a partial view.

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

The path of the partial view to delete.

Guid userKey

The key of the user performing the operation.

Returns View Source GetSnippetAsync(String)

Gets a partial view snippet by ID, returns null if not found.

Declaration
Task<PartialViewSnippet> GetSnippetAsync(string id)
Parameters Type Name Description System.String id

The name of the snippet to get.

Returns View Source GetSnippetsAsync(Int32, Int32)

Gets all the available partial view snippets.

Declaration
Task<PagedModel<PartialViewSnippetSlim>> GetSnippetsAsync(int skip, int take)
Parameters Type Name Description System.Int32 skip

Amount to skip.

System.Int32 take

Amount to take.

Returns View Source RenameAsync(String, PartialViewRenameModel, Guid)

Renames a partial view.

Declaration
Task<Attempt<IPartialView, PartialViewOperationStatus>> RenameAsync(string path, PartialViewRenameModel renameModel, Guid userKey)
Parameters Returns View Source UpdateAsync(String, PartialViewUpdateModel, Guid)

Updates an existing partial view.

Declaration
Task<Attempt<IPartialView, PartialViewOperationStatus>> UpdateAsync(string path, PartialViewUpdateModel updateModel, Guid userKey)
Parameters 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