Init(args)
Scripting Reference

◆ Clear< TClient, TFirstArgument, TSecondArgument, TThirdArgument >()

static bool Sisus.Init.InitArgs< TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument >.Clear< TClient, TFirstArgument, TSecondArgument, TThirdArgument > ( )
static

Clears arguments provided for client of type TClient using the Set<TFirstArgument, TSecondArgument, TThirdArgument> function and returns a value indicating if the arguments were not received by the client.

Template Parameters
TClientThe type of the object whose arguments are cleared.
TFirstArgumentThe type of the first dependency.
TSecondArgumentThe type of the second dependency.
TThirdArgumentThe type of the third dependency.
Returns
true if arguments for TClient class were provided using Set<TFirstArgument, TSecondArgument, TThirdArgument> but never retrieved using TryGet<TClient, TFirstArgument, TSecondArgument, TThirdArgument>; otherwise, false.
Type Constraints
TClient :IArgs 
TClient :TFirstArgument 
TClient :TSecondArgument 
TClient :TThirdArgument