Freigeben über


AppHostBuilderExtensions.UseMauiEmbedding Method

Definition

Overloads

UseMauiEmbedding<TApp>(MauiAppBuilder)
UseMauiEmbedding<TApp>(MauiAppBuilder, Func<IServiceProvider,TApp>)

UseMauiEmbedding<TApp>(MauiAppBuilder)

Source:
AppHostBuilderExtensions.Embedding.cs
Source:
AppHostBuilderExtensions.Embedding.cs
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>)

Source:
AppHostBuilderExtensions.Embedding.cs
Source:
AppHostBuilderExtensions.Embedding.cs
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