Advertisement
Guest User

Untitled

a guest
Feb 24th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.61 KB | None | 0 0
  1. using Avalonia;
  2. using DiceExpressions.View;
  3. using DiceExpressions.ViewModel;
  4.  
  5. namespace DiceExpressions
  6. {
  7.     public class Program
  8.     {
  9.         static void Main(string[] args)
  10.         {
  11.             AppBuilder.Configure<App>()
  12.                 .UsePlatformDetect()
  13.                 .UseReactiveUI()
  14.                 .Start<DiceExpressionsView>(() =>
  15.                 {
  16.                     var view = new DiceExpressionsView();
  17.                     var vm = new DiceExpressionsViewModel();
  18.                     view.DataContext = vm;
  19.                     return view;
  20.                 });
  21.         }
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement