Skip to content

,System.Action{System.IServiceProvider>

Defined in

Type: AvaloniaMixins Namespace: ReactiveUI.Avalonia.Splat Assembly: Splat.Avalonia.Microsoft.Extensions.DependencyInjection.dll

Applies to

net9.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, netstandard2.0, netstandard2.0

public static AppBuilder UseReactiveUIWithMicrosoftDependencyResolver(this AppBuilder builder, Action<IServiceCollection> containerConfig, Action<IServiceProvider?>? withResolver = null)

View source

Summary: Uses the splat with microsoft dependency resolver.

Parameters

NameTypeDescription
builderAppBuilderThe builder.
containerConfigActionThe configure.
withResolver = nullAction?The get service provider.

Returns: AppBuilder -- An App Builder.