You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
488 B
18 lines
488 B
using CoreLibrary.Regles;
|
|
|
|
namespace MauiSpark.Pages;
|
|
|
|
public partial class ModePage : ContentPage
|
|
{
|
|
public ModePage()
|
|
{
|
|
NavigationPage.SetHasNavigationBar(this, false);
|
|
|
|
BindingContext = typeof(IRegles).Assembly.GetTypes()
|
|
.Where(type => typeof(IRegles).IsAssignableFrom(type) && type.IsClass)
|
|
.Select(type => (Activator.CreateInstance(type) as IRegles)!)
|
|
.OrderBy(regles => regles.Indice);
|
|
|
|
InitializeComponent();
|
|
}
|
|
} |