maui-linux-samples/ShellDemo/Platforms/Linux/Program.cs
Dave Friedel b18a178dd1 Initial samples: TodoApp and ShellDemo
Two sample applications demonstrating OpenMaui Linux:

TodoApp:
- Full task manager with NavigationPage
- CollectionView with XAML data binding
- DisplayAlert dialogs
- Grid layouts with star sizing

ShellDemo:
- Comprehensive control showcase
- Shell with flyout navigation
- All core MAUI controls demonstrated
- Real-time event logging

Both samples reference OpenMaui.Controls.Linux via NuGet.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 13:40:42 -05:00

20 lines
462 B
C#

// Platforms/Linux/Program.cs - Linux platform entry point
// Same pattern as Android's MainActivity or iOS's AppDelegate
using Microsoft.Maui.Platform.Linux;
using Microsoft.Maui.Platform.Linux.Hosting;
namespace ShellDemo;
class Program
{
static void Main(string[] args)
{
// Create the shared MAUI app
var app = MauiProgram.CreateMauiApp();
// Run on Linux platform
LinuxApplication.Run(app, args);
}
}