-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathApp.xaml.cs
More file actions
26 lines (21 loc) · 753 Bytes
/
App.xaml.cs
File metadata and controls
26 lines (21 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (c) 2025 .NET Foundation and Contributors. All rights reserved.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.
using System.Windows;
namespace ReactiveUI.Samples.Wpf;
/// <summary>
/// Application entry point demonstrating ReactiveUI builder initialization for WPF.
/// </summary>
public partial class App : Application
{
/// <inheritdoc/>
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
RxAppBuilder.CreateReactiveUIBuilder()
.WithWpf()
.BuildApp();
new MainWindow().Show();
}
}