- ShellDemo: Updated all pages with recovered code, added AppShell.cs - TodoApp: Updated core files, added converters - XamlBrowser: Added recovered sample
17 lines
359 B
C#
17 lines
359 B
C#
using Microsoft.Maui.Controls.Hosting;
|
|
using Microsoft.Maui.Hosting;
|
|
using Microsoft.Maui.Platform.Linux.Hosting;
|
|
|
|
namespace ShellDemo;
|
|
|
|
public static class MauiProgram
|
|
{
|
|
public static MauiApp CreateMauiApp()
|
|
{
|
|
MauiAppBuilder obj = MauiApp.CreateBuilder(true);
|
|
AppHostBuilderExtensions.UseMauiApp<App>(obj);
|
|
obj.UseLinux();
|
|
return obj.Build();
|
|
}
|
|
}
|