Search Results for

    Show / Hide Table of Contents
    View Source

    Class PartialViewSnippetCollection

    Represents a collection of PartialViewSnippet instances.

    Inheritance
    object
    BuilderCollectionBase<PartialViewSnippet>
    Namespace: Umbraco.Cms.Core.Snippets
    Assembly: Umbraco.Core.dll
    Syntax
    public class PartialViewSnippetCollection : BuilderCollectionBase<PartialViewSnippet>, IBuilderCollection<PartialViewSnippet>
    Remarks

    This collection contains all registered partial view snippets that can be used when creating new partial views in the Umbraco backoffice.

    Constructors

    View Source

    PartialViewSnippetCollection(Func<IEnumerable<PartialViewSnippet>>)

    Initializes a new instance of the PartialViewSnippetCollection class.

    Declaration
    public PartialViewSnippetCollection(Func<IEnumerable<PartialViewSnippet>> items)
    Parameters
    Type Name Description
    Func<IEnumerable<PartialViewSnippet>> items

    A factory function that provides the partial view snippets.

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