Search Results for

    Show / Hide Table of Contents
    View Source

    Interface INodeCountRepository

    Represents a repository for counting nodes in the system.

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

    Methods

    View Source

    GetMediaCount()

    Gets the total count of media items.

    Declaration
    int GetMediaCount()
    Returns
    Type Description
    int

    The count of media items.

    View Source

    GetNodeCount(Guid)

    Gets the count of nodes for a specific node type.

    Declaration
    int GetNodeCount(Guid nodeType)
    Parameters
    Type Name Description
    Guid nodeType

    The unique identifier of the node type.

    Returns
    Type Description
    int

    The count of nodes of the specified type.

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