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

◆ Clear< TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument >()

static bool Sisus.Init.InitArgs.Clear< TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument > ( [DisallowNull] Type clientType)
static

Clears dependencies previously injected for client of type clientType using the Set<TClient, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument> function.

Template Parameters
TFirstArgumentThe type of the first dependency.
TSecondArgumentThe type of the second dependency.
TThirdArgumentThe type of the third dependency.
TFourthArgumentThe type of the fourth dependency.
TFifthArgumentThe type of the fifth dependency.
Parameters
clientTypeThe type of the object whose dependencies are cleared.
Returns
true if arguments for clientType client type were provided using Set<TClient, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument> but never retrieved using TryGet<TClient, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument>; otherwise, false.