Files
mixtape/zero.Backoffice/UIComposition/Sections/IBackofficeSection.cs
T

42 lines
958 B
C#
Raw Normal View History

namespace zero.Backoffice.UIComposition;
2021-11-22 14:29:22 +01:00
/// <summary>
/// Internal section
/// </summary>
2021-11-23 11:35:01 +01:00
internal interface IInternalBackofficeSection : IBackofficeSection { }
2021-11-22 14:29:22 +01:00
/// <summary>
/// A section is a main part of the backoffice application
/// </summary>
2021-11-23 11:35:01 +01:00
public interface IBackofficeSection
2021-11-22 14:29:22 +01:00
{
/// <summary>
/// The section alias which acts as the url slug for navigation
/// </summary>
string Alias { get; }
/// <summary>
/// The name of the section (either a string or a translation key with @ prefix)
/// </summary>
string Name { get; }
/// <summary>
/// Icon of the section
/// </summary>
string Icon { get; }
/// <summary>
/// HEX color (#aabbcc or #abc)
/// </summary>
string Color { get; }
/// <summary>
/// Children are displayed as a sub-navigation in the main nav area
/// </summary>
2021-11-23 11:35:01 +01:00
IList<IChildBackofficeSection> Children { get; }
2021-12-29 01:25:35 +01:00
/// <summary>
/// Sort order
/// </summary>
int Sort { get; }
2021-11-22 14:29:22 +01:00
}