LANCommander/LANCommander.Launcher.Plugins/Extensions/ISettingsPageExtension.cs
2026-07-28 19:06:33 -05:00

19 lines
653 B
C#

using Avalonia.Controls;
namespace LANCommander.Launcher.Plugins.Extensions;
/// <summary>
/// Adds an additional section to the launcher's settings page. Implementations are resolved
/// from DI and appended, ordered by <see cref="Order"/>, beneath the built-in settings sections.
/// </summary>
public interface ISettingsPageExtension
{
/// <summary>Heading shown for the section.</summary>
string Title { get; }
/// <summary>Relative position among extension sections; lower values appear first.</summary>
int Order { get; }
/// <summary>Builds the control rendered inside the section.</summary>
Control BuildContent();
}