Summary
Begin configuring an
Application
.
- Namespace
- Avalonia
.Controls - Containing Type
- AppBuilderBase
<TAppBuilder>
Syntax
public static TAppBuilder Configure<TApp>(Func<TApp> appFactory) where TApp : Application
Remarks
appFactory is useful for passing of dependencies to TApp.
Type Parameters
Name | Description |
---|---|
TApp | The subclass of Application to configure. |
Parameters
Name | Type | Description |
---|---|---|
appFactory | Func |
Factory function for TApp. |
Return Value
Type | Description |
---|---|
TAppBuilder | An TAppBuilder instance. |