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

◆ EnsureAOTPlatformSupportForService< TService >()

static void Sisus.Init.ServiceUtility.EnsureAOTPlatformSupportForService< TService > ( )
static

A method that can be referenced with particular service types, to ensure that instance of said service can be registered using reflection on ahead-of-time compiled platforms without errors occurring.

Note that this method never needs to be actually called; simply referencing it in your code is enough.

For more information see .

Template Parameters
TServiceThe defining type of a service that should be supported on AOT platforms.