View Source
Class SearchDocumentTypeItemController
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class SearchDocumentTypeItemController : DocumentTypeItemControllerBase
Constructors
View Source
SearchDocumentTypeItemController(IEntitySearchService, IContentTypeService, IUmbracoMapper)
Declaration
public SearchDocumentTypeItemController(IEntitySearchService entitySearchService, IContentTypeService contentTypeService, IUmbracoMapper mapper)
Parameters
Type |
Name |
Description |
IEntitySearchService |
entitySearchService |
|
IContentTypeService |
contentTypeService |
|
IUmbracoMapper |
mapper |
|
View Source
SearchDocumentTypeItemController(IEntitySearchService, IContentTypeService, IUmbracoMapper, IContentTypeSearchService)
Declaration
public SearchDocumentTypeItemController(IEntitySearchService entitySearchService, IContentTypeService contentTypeService, IUmbracoMapper mapper, IContentTypeSearchService contentTypeSearchService)
Parameters
Type |
Name |
Description |
IEntitySearchService |
entitySearchService |
|
IContentTypeService |
contentTypeService |
|
IUmbracoMapper |
mapper |
|
IContentTypeSearchService |
contentTypeSearchService |
|
View Source
SearchDocumentTypeItemController(IUmbracoMapper, IContentTypeSearchService)
Declaration
public SearchDocumentTypeItemController(IUmbracoMapper mapper, IContentTypeSearchService contentTypeSearchService)
Parameters
Type |
Name |
Description |
IUmbracoMapper |
mapper |
|
IContentTypeSearchService |
contentTypeSearchService |
|
Methods
View Source
Search(CancellationToken, String, Int32, Int32)
Declaration
public async Task<IActionResult> Search(CancellationToken cancellationToken, string query, int skip = 0, int take = 100)
Parameters
Type |
Name |
Description |
CancellationToken |
cancellationToken |
|
System.String |
query |
|
System.Int32 |
skip |
|
System.Int32 |
take |
|
Returns
Type |
Description |
Task<IActionResult> |
|
View Source
SearchDocumentType(CancellationToken, String, Nullable<Boolean>, Int32, Int32)
Declaration
public async Task<IActionResult> SearchDocumentType(CancellationToken cancellationToken, string query, bool? isElement = null, int skip = 0, int take = 100)
Parameters
Type |
Name |
Description |
CancellationToken |
cancellationToken |
|
System.String |
query |
|
System.Nullable<System.Boolean> |
isElement |
|
System.Int32 |
skip |
|
System.Int32 |
take |
|
Returns
Type |
Description |
Task<IActionResult> |
|