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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET MAUI