docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IScopedServiceProvider

    The scoped provider creates services instantiated under its scope so so that if they require to be disposed they will along this provider

    Inherited Members
    IServiceProvider.GetService(Type)
    IDisposable.Dispose()
    Namespace: Unity.Services.Multiplayer.Editor.Shared.DependencyInversion
    Assembly: Unity.Services.Multiplayer.Editor.Shared.dll
    Syntax
    public interface IScopedServiceProvider : IServiceProvider, IDisposable

    Methods

    CreateScope()

    Creates a scoped provider

    Declaration
    IScopedServiceProvider CreateScope()
    Returns
    Type Description
    IScopedServiceProvider

    The scoped provider

    Extension Methods

    MultiplayAuthoringServices.GetService<T>(IServiceProvider)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)