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

◆ Clear< TClient, TArgument >()

static bool Sisus.Init.InitArgs.Clear< TClient, TArgument > ( )
static

Clears argument provided for client of type TClient using the Set<TClient, TArgument> function and returns a value indicating if the argument was not received by the client.

Template Parameters
TClientThe type of the object whose argument is cleared.
TArgumentThe type of the dependency.
Returns
true if argument for TClient class was provided using Set<TClient, TArgument> but never retrieved using TryGet<TClient, TArgument>; otherwise, false.
Type Constraints
TClient :IArgs<TArgument>