Init(args)
Scripting Reference
Loading...
Searching...
No Matches

◆ InitTarget()

virtual TService Sisus.Init.ServiceInitializer< TService >.InitTarget ( )
virtual

Returns a new instance of the TService class, or null.

By default, this method returns null. In this case the framework will take care of creating the instance internally.

If more control is needed, this method can be overridden to manually create the service instance.

Returns
A new instance of the TService class, or null if the framework should create the instance automatically.

Implements Sisus.Init.IServiceInitializer< out TService >.