Init(args)
Scripting Reference
Loading...
Searching...
No Matches
Sisus.Init.IServiceInitializerAsync< TService, in TArgument > 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 depend on one other service and are initialized manually via the InitTargetAsync method.

Template Parameters
TServiceThe concrete type of the initialized service.
TArgumentType of another service which the service of type TService depends on.
Inheritance diagram for Sisus.Init.IServiceInitializerAsync< TService, in TArgument >:
Sisus.Init.IServiceInitializerAsync Sisus.Init.ServiceInitializerAsync< TService, TArgument >

Public Member Functions

Task< TService > InitTargetAsync (TArgument argument)
 Initializes the service asynchronously with another service that it depends on.