AppBuilder Class

Summary

Initializes platform-specific services for an Application.
Namespace
Avalonia
Base Types
graph BT Type-->Base0["AppBuilderBase<AppBuilder>"] Base0-->Base1["object"] Type["AppBuilder"] class Type type-node

Syntax

public sealed class AppBuilder : AppBuilderBase<AppBuilder>

Constructors

Name Summary
AppBuilder() Initializes a new instance of the AppBuilder class.

Methods

Name Value Summary
UseSubsystemsFromStartupDirectory() AppBuilder
Instructs the AppBuilder to use the best settings for the platform.

Extension Methods

Name Value Summary
LogToDebug<AppBuilder>(LogEventLevel) T
Logs Avalonia events to the System.Diagnostics.Debug sink.
LogToDebug<AppBuilder>(string, LogEventLevel) T
Logs Avalonia events to the System.Diagnostics.Debug sink.
LogToTrace<AppBuilder>(LogEventLevel) T
Logs Avalonia events to the System.Diagnostics.Trace sink.
LogToTrace<AppBuilder>(string, LogEventLevel) T
Logs Avalonia events to the System.Diagnostics.Trace sink.
StartWithClassicDesktopLifetime<AppBuilder>(string[], ShutdownMode) int
UseManagedSystemDialogs<AppBuilder, TWindow>() TAppBuilder
UseManagedSystemDialogs<AppBuilder>() TAppBuilder
UsePlatformDetect<AppBuilder>() TAppBuilder
UseReactiveUI<AppBuilder>() TAppBuilder
Initializes ReactiveUI framework to use with Avalonia. Registers Avalonia scheduler and Avalonia activation for view fetcher. Always remember to call this method if you are using ReactiveUI in your application.