Search Results for

    Show / Hide Table of Contents
    View Source

    Class ByRelationTypeKeyRelationController

    Inheritance
    System.Object
    ManagementApiControllerBase
    RelationControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers.Relation
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class ByRelationTypeKeyRelationController : RelationControllerBase

    Constructors

    View Source

    ByRelationTypeKeyRelationController(IRelationService, IRelationPresentationFactory)

    Declaration
    public ByRelationTypeKeyRelationController(IRelationService relationService, IRelationPresentationFactory relationPresentationFactory)
    Parameters
    Type Name Description
    IRelationService relationService
    IRelationPresentationFactory relationPresentationFactory

    Methods

    View Source

    ByRelationTypeKey(CancellationToken, Guid, Int32, Int32)

    Gets a paged list of relations by the unique relation key.

    Declaration
    public async Task<IActionResult> ByRelationTypeKey(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>
    Remarks

    Use case: On a relation type page you can see all created relations of this type.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ByRelationTypeKeyRelationController(IRelationService, IRelationPresentationFactory)
    • Methods
      • ByRelationTypeKey(CancellationToken, Guid, Int32, Int32)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX