AppHostBuilderExtensions.UseMauiEmbedding Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UseMauiEmbedding<TApp>(MauiAppBuilder) | |
UseMauiEmbedding<TApp>(MauiAppBuilder, Func<IServiceProvider,TApp>) |
UseMauiEmbedding<TApp>(MauiAppBuilder)
public:
generic <typename TApp>
where TApp : class, Microsoft::Maui::IApplication[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Hosting::MauiAppBuilder ^ UseMauiEmbedding(Microsoft::Maui::Hosting::MauiAppBuilder ^ builder);
public static Microsoft.Maui.Hosting.MauiAppBuilder UseMauiEmbedding<TApp> (this Microsoft.Maui.Hosting.MauiAppBuilder builder) where TApp : class, Microsoft.Maui.IApplication;
static member UseMauiEmbedding : Microsoft.Maui.Hosting.MauiAppBuilder -> Microsoft.Maui.Hosting.MauiAppBuilder (requires 'App : null and 'App :> Microsoft.Maui.IApplication)
<Extension()>
Public Function UseMauiEmbedding(Of TApp As {Class, IApplication}) (builder As MauiAppBuilder) As MauiAppBuilder
Type Parameters
- TApp
Parameters
- builder
- MauiAppBuilder
Returns
Applies to
UseMauiEmbedding<TApp>(MauiAppBuilder, Func<IServiceProvider,TApp>)
public:
generic <typename TApp>
where TApp : class, Microsoft::Maui::IApplication[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Hosting::MauiAppBuilder ^ UseMauiEmbedding(Microsoft::Maui::Hosting::MauiAppBuilder ^ builder, Func<IServiceProvider ^, TApp> ^ implementationFactory);
public static Microsoft.Maui.Hosting.MauiAppBuilder UseMauiEmbedding<TApp> (this Microsoft.Maui.Hosting.MauiAppBuilder builder, Func<IServiceProvider,TApp> implementationFactory) where TApp : class, Microsoft.Maui.IApplication;
static member UseMauiEmbedding : Microsoft.Maui.Hosting.MauiAppBuilder * Func<IServiceProvider, 'App (requires 'App : null and 'App :> Microsoft.Maui.IApplication)> -> Microsoft.Maui.Hosting.MauiAppBuilder (requires 'App : null and 'App :> Microsoft.Maui.IApplication)
<Extension()>
Public Function UseMauiEmbedding(Of TApp As {Class, IApplication}) (builder As MauiAppBuilder, implementationFactory As Func(Of IServiceProvider, TApp)) As MauiAppBuilder
Type Parameters
- TApp
Parameters
- builder
- MauiAppBuilder
- implementationFactory
- Func<IServiceProvider,TApp>
Returns
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.