Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IContentAppFactory

    Represents a content app factory.

    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IContentAppFactory

    Methods

    View Source

    GetContentAppFor(Object, IEnumerable<IReadOnlyUserGroup>)

    Gets the content app for an object.

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

    The source object.

    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
    • Methods
      • GetContentAppFor(Object, IEnumerable<IReadOnlyUserGroup>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX