using Oqtane.Models;
using Oqtane.Shared;
using System.Collections.Generic;
namespace Oqtane.Modules
{
public interface IModuleControl
{
///
/// Defines the security access level for this control - defaults to View
///
SecurityAccessLevel SecurityAccessLevel { get; }
///
/// Title to display for this control - defaults to module title
///
string Title { get; }
///
/// Allows for routing by configuration rather than by convention ( comma delimited ) - defaults to using component file name
///
string Actions { get; }
///
/// Container for embedding module control - defaults to true. false will suppress the default modal UI popup behavior and render the component in the page.
///
bool UseAdminContainer { get; }
///
/// Identifies all resources in a module
///
List Resources { get; }
///
/// Specifies the required render mode for the module control ie. Static,Interactive
///
string RenderMode { get; }
///
/// Specifies the prerender mode for the moudle control ie: true or false
///
bool? Prerender { get; }
}
}