Table of Contents

Class ServiceContainer

Namespace
CLI.CliniCore.Service
Assembly
CLI.CliniCore.dll

Dependency injection container that leverages Microsoft.Extensions.DependencyInjection and the CoreServiceBootstrapper for consistent service configuration.

public sealed class ServiceContainer : IDisposable
Inheritance
ServiceContainer
Implements
Inherited Members

Methods

Create(bool)

public static ServiceContainer Create(bool includeDevelopmentData = false)

Parameters

includeDevelopmentData bool

Returns

ServiceContainer

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

GetAuthenticationService()

public IAuthenticationService GetAuthenticationService()

Returns

IAuthenticationService

GetConsoleEngine()

public TTYConsoleEngine GetConsoleEngine()

Returns

TTYConsoleEngine