using System.Collections.Generic;
using Umbraco.Core.Models.Membership;
namespace Umbraco.Core.Models.ContentEditing
{
///
/// Represents a content app factory.
///
public interface IContentAppFactory
{
///
/// Gets the content app for an object.
///
/// The source object.
/// 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);
}
}