Skip to content

MicrosoftDependencyResolver.ServiceProvider property

Defined in

Type: MicrosoftDependencyResolver Namespace: Splat.Microsoft.Extensions.DependencyInjection Assembly: Splat.Microsoft.Extensions.DependencyInjection.dll

Applies to

net11.0, net10.0, netstandard2.0, net47, net471, net472, net48, net481

protected virtual IServiceProvider? ServiceProvider { get; }

View source (opens in a new tab)

Summary: Gets the internal Microsoft container, or builds a new one if this instance was not initialized with one.

Returns: IServiceProvider? (opens in a new tab)