using Umbraco.Cms.Core.Models.Membership; namespace Umbraco.Cms.Core.Models.ContentEditing; /// /// Represents a content app factory. /// public interface IContentAppFactory { /// /// Gets the content app for an object. /// /// The source object. /// The user groups /// The content app for the object, or null. /// /// /// The definition must determine, based on , whether /// the content app should be displayed or not, and return either a /// instance, or null. /// /// ContentApp? GetContentAppFor(object source, IEnumerable userGroups); }