AppBuilder Class
Initializes platform-specific services for an Application.
Definition
Namespace: Avalonia
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public sealed class AppBuilder
Public NotInheritable Class AppBuilder
[<SealedAttribute>]
type AppBuilder = class end
Inheritance | Object → AppBuilder |
Properties
AfterPlatformServicesSetupCallback | |
AfterSetupCallback | Gets a method to call after the Application is setup. |
ApplicationType | Gets the type of the Instance (even if it's not created yet) |
Instance | Gets the Application instance being initialized. |
LifetimeOverride | Gets a method to override a lifetime factory. Obsolete. |
RenderingSubsystemInitializer | Gets or sets a method to call the initialize the windowing subsystem. |
RenderingSubsystemName | Gets the name of the currently selected rendering subsystem. |
RuntimePlatformServicesInitializer | Gets or sets a method to call the initialize the runtime platform services (e. g. AssetLoader) |
RuntimePlatformServicesName | Gets the name of the currently selected windowing subsystem. |
WindowingSubsystemInitializer | Gets or sets a method to call the initialize the windowing subsystem. |
WindowingSubsystemName | Gets the name of the currently selected windowing subsystem. |
Methods
AfterPlatformServicesSetup(Action(AppBuilder)) | |
AfterSetup(Action(AppBuilder)) | |
Configure(TApp)() | Begin configuring an Application. |
Configure(TApp)(Func(TApp)) | Begin configuring an Application. |
ConfigureFonts(Action(FontManager)) | Registers an action that is executed with the current font manager. |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() | Serves as the default hash function. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
SetupWithLifetime(IApplicationLifetime) | Sets up the platform-specific services for the application and initialized it with a particular lifetime, but does not run it. |
SetupWithoutStarting() | Sets up the platform-specific services for the application, but does not run it. |
Start(AppBuilder.AppMainDelegate, String[]) | |
ToString() | Returns a string that represents the current object. (Inherited from Object) |
UseRenderingSubsystem(Action, String) | Specifies a rendering subsystem to use. |
UseRuntimePlatformSubsystem(Action, String) | Specifies a runtime platform subsystem to use. |
UseStandardRuntimePlatformSubsystem() | Specifies a standard runtime platform subsystem to use. |
UseWindowingSubsystem(Action, String) | Specifies a windowing subsystem to use. |
With(T)(Func(T)) | Configures platform-specific options |
With(T)(T) | Configures platform-specific options |