Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IScopedServiceProvider

    Provides access to a request scoped service provider when available for cases where IHttpContextAccessor is not available. e.g. No reference to AspNetCore.Http in core.

    Namespace: Umbraco.Cms.Core.DependencyInjection
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IScopedServiceProvider

    Properties

    View Source

    ServiceProvider

    Gets a request scoped service provider when available.

    Declaration
    IServiceProvider? ServiceProvider { get; }
    Property Value
    Type Description
    IServiceProvider
    Remarks

    Can be null.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX