v1.0.0
Latest
2022.3+
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
System.IServiceProvider.GetService(System.Type)
System.IDisposable.Dispose()
Namespace: Unity.Services.Multiplayer.Editor.Shared.DependencyInversion
Syntax
public interface IScopedServiceProvider : IServiceProvider, IDisposable
Methods
CreateScope()
Creates a scoped provider
Declaration
IScopedServiceProvider CreateScope()
Returns
Type | Description |
---|---|
IScopedServiceProvider | The scoped provider |