Search Results for

    Show / Hide Table of Contents
    View Source

    Class ManifestContentAppFactory

    Represents a content app factory, for content apps parsed from the manifest.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Manifest
    Assembly: Umbraco.Core.dll
    Syntax
    public class ManifestContentAppFactory : IContentAppFactory

    Constructors

    View Source

    ManifestContentAppFactory(ManifestContentAppDefinition, IIOHelper)

    Declaration
    public ManifestContentAppFactory(ManifestContentAppDefinition definition, IIOHelper ioHelper)
    Parameters
    Type Name Description
    ManifestContentAppDefinition definition
    IIOHelper ioHelper

    Methods

    View Source

    GetContentAppFor(Object, IEnumerable<IReadOnlyUserGroup>)

    Gets the content app for an object.

    Declaration
    public ContentApp GetContentAppFor(object o, IEnumerable<IReadOnlyUserGroup> userGroups)
    Parameters
    Type Name Description
    System.Object o
    IEnumerable<IReadOnlyUserGroup> userGroups

    The user groups

    Returns
    Type Description
    ContentApp

    The content app for the object, or null.

    Remarks

    The definition must determine, based on source, whether the content app should be displayed or not, and return either a ContentApp instance, or null.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ManifestContentAppFactory(ManifestContentAppDefinition, IIOHelper)
    • Methods
      • GetContentAppFor(Object, IEnumerable<IReadOnlyUserGroup>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX