Exemplo n.º 1
0
 static AppBuilder BuildAvaloniaApp()
 {
     return(AppBuilder.Configure <App>()
            .UsePlatformDetect()
            .LogToDebug(LogEventLevel.Warning));
 }
Exemplo n.º 2
0
 // Avalonia configuration, don't remove; also used by visual designer.
 public static AppBuilder BuildAvaloniaApp()
 => AppBuilder.Configure <App>()
 .UsePlatformDetect()
 .LogToDebug()
 .UseReactiveUI();
Exemplo n.º 3
0
 private static AppBuilder BuildAvaloniaApp()
 {
     return(AppBuilder.Configure <App>().UsePlatformDetect().UseReactiveUI());
 }
Exemplo n.º 4
0
 static void Main(string[] args)
 {
     AppBuilder.Configure <UntitledCanvasApp>()
     .UsePlatformDetect()
     .StartWithClassicDesktopLifetime(args);
 }
 public static AppBuilder BuildAvaloniaApp()
 => AppBuilder.Configure <App>()
 .UsePlatformDetect()
 .UseDataGrid()
 .LogToDebug();
Exemplo n.º 6
0
        protected override AppBuilder CreateAppBuilder()
        {
            var builder = AppBuilder.Configure <TApp>();

            return(CustomizeAppBuilder(builder));
        }
Exemplo n.º 7
0
 /// <summary>
 /// This method is needed for IDE previewer infrastructure
 /// </summary>
 public static AppBuilder BuildAvaloniaApp()
 => AppBuilder.Configure <App>()
 .UsePlatformDetect()
 .UseSkia()
 .UseReactiveUI()
 .UseDataGrid();
Exemplo n.º 8
0
 public static AppBuilder BuildAvaloniaApp()
 => AppBuilder.Configure <App>()
 .AfterSetup(_ => IconProvider.Register <FontAwesomeIconProvider>())
 .UsePlatformDetect()
 .LogToTrace()
 .UseReactiveUI();
Exemplo n.º 9
0
 private static AppBuilder BuildAvaloniaApp() => AppBuilder.Configure <App>().UsePlatformDetect();
Exemplo n.º 10
0
 public static AppBuilder BuildAvaloniaApp()
 => AppBuilder.Configure(() => new AvaloniaApp(() => new TesterWindow()))
 .UsePlatformDetect()
 .LogToTrace();
Exemplo n.º 11
0
 // Avalonia configuration, don't remove; also used by visual designer.
 private static AppBuilder BuildAvaloniaApp()
 => AppBuilder.Configure <App>()
 .UsePlatformDetect()
 .LogToTrace()
 .UseReactiveUI();
Exemplo n.º 12
0
 public static void InitInterop()
 => AppBuilder.Configure <App>()
 .UsePlatformDetect()
 .LogToTrace()
 .UseReactiveUI()
 .SetupWithoutStarting();
Exemplo n.º 13
0
 public static AppBuilder BuildAvaloniaApp()
 => AppBuilder.Configure <App>()
 .With(new AvaloniaNativePlatformOptions()
 {
 })
 .UsePlatformDetect();
Exemplo n.º 14
0
 public static AppBuilder BuildAvaloniaApp() =>
 AppBuilder
 .Configure <App>()
 .UsePlatformDetect()
 .UseReactiveUI()
 .UseHeadless();
Exemplo n.º 15
0
 static void Main(string[] args)
 {
     AppBuilder.Configure <App>()
     .UsePlatformDetect()
     .Start <MainWindow>();
 }
Exemplo n.º 16
0
 // Avalonia configuration, don't remove; also used by visual designer.
 public static AppBuilder BuildAvaloniaApp()
 => AppBuilder.Configure <App>()
 .UsePlatformDetect()
 .LogToTrace();
Exemplo n.º 17
0
 private static AppBuilder BuildAvaloniaApp()
 {
     return(AppBuilder.Configure <App>()
            .UsePlatformDetect()
            .LogToTrace());
 }