Init(args)
Scripting Reference
Loading...
Searching...
No Matches
Sisus.Init.IServiceInitializerAsync< TService > Interface Template Reference

Description

Represents an initializer that specifies how a service of type TService should be initialized asynchronously.

Implemented by initializers of services that are initialized automatically by the framework or services that don't depend on any other services and are initialized manually via the InitTargetAsync method.

Template Parameters
TServiceThe concrete type of the initialized service.
Inheritance diagram for Sisus.Init.IServiceInitializerAsync< TService >:
Sisus.Init.IServiceInitializerAsync Sisus.Init.ServiceInitializerAsync< TService >

Public Member Functions

Task< TService > InitTargetAsync ()
 Returns a Task<TService> that can be awaited to get a new instance of the TService class asynchronously.