View Source
Class AllowedChildrenDocumentTypeController
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class AllowedChildrenDocumentTypeController : DocumentTypeControllerBase
Constructors
View Source
AllowedChildrenDocumentTypeController(IContentTypeService, IUmbracoMapper)
Declaration
public AllowedChildrenDocumentTypeController(IContentTypeService contentTypeService, IUmbracoMapper umbracoMapper)
Parameters
| Type |
Name |
Description |
| IContentTypeService |
contentTypeService |
|
| IUmbracoMapper |
umbracoMapper |
|
Methods
View Source
AllowedChildrenByKey(CancellationToken, Guid, Int32, Int32)
Declaration
public async Task<IActionResult> AllowedChildrenByKey(CancellationToken cancellationToken, Guid id, int skip = 0, int take = 100)
Parameters
| Type |
Name |
Description |
| CancellationToken |
cancellationToken |
|
| Guid |
id |
|
| System.Int32 |
skip |
|
| System.Int32 |
take |
|
Returns
| Type |
Description |
| Task<IActionResult> |
|
View Source
AllowedChildrenByKey(CancellationToken, Guid, Nullable<Guid>, Int32, Int32)
Declaration
public async Task<IActionResult> AllowedChildrenByKey(CancellationToken cancellationToken, Guid id, Guid? parentContentKey = null, int skip = 0, int take = 100)
Parameters
| Type |
Name |
Description |
| CancellationToken |
cancellationToken |
|
| Guid |
id |
|
| System.Nullable<Guid> |
parentContentKey |
|
| System.Int32 |
skip |
|
| System.Int32 |
take |
|
Returns
| Type |
Description |
| Task<IActionResult> |
|