Last active
December 18, 2018 16:37
-
-
Save ReedCopsey/ccbe5494122d44dedd811a27b7084b63 to your computer and use it in GitHub Desktop.
FsAdvent 2018 Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[<STAThread>] | |
[<EntryPoint>] | |
let main _ = | |
let app () = | |
AppBuilder.Configure<App>().UsePlatformDetect().LogToDebug().SetupWithoutStarting().Instance | |
let nav = Gjallarhorn.Avalonia.Navigation.singleView app MainWindow | |
let app' = Program.application nav.Navigate | |
Gjallarhorn.Avalonia.Framework.RunApplication<Forest,unit,ForestMessage> (nav, app') | |
0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[<STAThread>] | |
[<EntryPoint>] | |
let main _ = | |
// Run using the WPF wrappers around the basic application framework | |
let nav = Gjallarhorn.Wpf.Navigation.singleView System.Windows.Application MainWindow | |
let app = Program.application nav.Navigate | |
Gjallarhorn.Wpf.Framework.RunApplication<Forest,unit,ForestMessage> (nav, app) | |
0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment