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

Description

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

Implemented by initializers of services that depend on two other services and are initialized manually via the InitTargetAsync method.

Template Parameters
TServiceThe concrete type of the initialized service.
TFirstArgumentType of the first service which the service of type TService depends on.
TSecondArgumentType of the second service which the service of type TService depends on.
Inheritance diagram for Sisus.Init.IServiceInitializerAsync< TService, in TFirstArgument, in TSecondArgument >:
Sisus.Init.IServiceInitializerAsync Sisus.Init.ServiceInitializerAsync< TService, TFirstArgument, TSecondArgument >

Public Member Functions

Task< TService > InitTargetAsync (TFirstArgument firstArgument, TSecondArgument secondArgument)
 Initializes the service asynchronously with two other services that it depends on.