mirror of
https://github.com/PrismLibrary/Prism.git
synced 2026-10-29 13:38:03 +08:00
Migrates the Uno Platform E2E sample application from a multi-project structure to the recommended single-project architecture. This update consolidates platform-specific heads into the main `HelloWorld` project and introduces a new `Playground.Module` to showcase Prism for Uno.WinUI features like regions, dialogs, and modularity within the streamlined project setup. It also updates the target framework to .NET 10.
24 lines
448 B
C#
Executable File
24 lines
448 B
C#
Executable File
using Uno.Toolkit;
|
|
|
|
namespace HelloWorld.Views;
|
|
|
|
public sealed partial class Shell : Page, ILoadableShell
|
|
{
|
|
private readonly CompositeLoadableSource _loadable;
|
|
|
|
public Shell()
|
|
{
|
|
InitializeComponent();
|
|
_loadable = new CompositeLoadableSource
|
|
{
|
|
IsExecuting = true
|
|
};
|
|
Splash.Source = _loadable;
|
|
}
|
|
|
|
public void FinishLoading()
|
|
{
|
|
_loadable.IsExecuting = false;
|
|
}
|
|
}
|