C# Class Core2D.Avalonia.Locator.ServiceProvider

Service provider based on lifetime scope.
Inheritance: IServiceProvider
Show file Open project: Core2D/Core2D

Public Methods

Method Description
ServiceProvider ( ILifetimeScope scope ) : System

Initializes a new instance of the ServiceProvider class.

Private Methods

Method Description
IServiceProvider ( Type serviceType ) : object

Gets the service object of the specified type.

Method Details

ServiceProvider() public method

Initializes a new instance of the ServiceProvider class.
public ServiceProvider ( ILifetimeScope scope ) : System
scope ILifetimeScope The lifetime scope.
return System