Search Results for

    Show / Hide Table of Contents
    View Source

    Interface INavigationRepository

    Represents a repository for content navigation operations.

    Namespace: Umbraco.Cms.Core.Persistence.Repositories
    Assembly: Umbraco.Core.dll
    Syntax
    public interface INavigationRepository

    Methods

    View Source

    GetContentNodesByObjectType(IEnumerable<Guid>)

    Retrieves a collection of nodes as navigation models for multiple object types.

    Declaration
    IEnumerable<INavigationModel> GetContentNodesByObjectType(IEnumerable<Guid> objectTypeKeys)
    Parameters
    Type Name Description
    IEnumerable<Guid> objectTypeKeys

    The unique identifiers for the object types to include.

    Returns
    Type Description
    IEnumerable<INavigationModel>

    A collection of navigation models.

    View Source

    GetContentNodesByObjectType(Guid)

    Retrieves a collection of content nodes as navigation models based on the object type key.

    Declaration
    IEnumerable<INavigationModel> GetContentNodesByObjectType(Guid objectTypeKey)
    Parameters
    Type Name Description
    Guid objectTypeKey

    The unique identifier for the object type.

    Returns
    Type Description
    IEnumerable<INavigationModel>

    A collection of navigation models.

    View Source

    GetTrashedContentNodesByObjectType(IEnumerable<Guid>)

    Retrieves a collection of trashed nodes as navigation models for multiple object types.

    Declaration
    IEnumerable<INavigationModel> GetTrashedContentNodesByObjectType(IEnumerable<Guid> objectTypeKeys)
    Parameters
    Type Name Description
    IEnumerable<Guid> objectTypeKeys

    The unique identifiers for the object types to include.

    Returns
    Type Description
    IEnumerable<INavigationModel>

    A collection of navigation models.

    View Source

    GetTrashedContentNodesByObjectType(Guid)

    Retrieves a collection of trashed content nodes as navigation models based on the object type key.

    Declaration
    IEnumerable<INavigationModel> GetTrashedContentNodesByObjectType(Guid objectTypeKey)
    Parameters
    Type Name Description
    Guid objectTypeKey

    The unique identifier for the object type.

    Returns
    Type Description
    IEnumerable<INavigationModel>

    A collection of navigation models.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX