Init(args)
Scripting Reference
Loading...
Searching...
No Matches
Sisus.Init.Requires< TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument, TSixthArgument > Class Template Referenceabstract

Description

A base class for an object that depends on six services.

If the object depends exclusively on objects that have been registered as services using the ServiceAttribute, then it will be able to receive the services in its Init method automatically during its initialization.

Template Parameters
TFirstArgumentType of the first argument received in the Init method.
TSecondArgumentType of the second argument received in the Init method.
TThirdArgumentType of the third argument received in the Init method.
TFourthArgumentType of the fourth argument received in the Init method.
TFifthArgumentType of the fifth argument received in the Init method.
TSixthArgumentType of the sixth argument received in the Init method.
Inheritance diagram for Sisus.Init.Requires< TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument, TSixthArgument >:
Sisus.Init.IInitializable< TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument, TSixthArgument > Sisus.Init.IArgs< TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument, TSixthArgument > Sisus.Init.ISixArguments Sisus.Init.IFirstArgument< TFirstArgument > Sisus.Init.ISecondArgument< TSecondArgument > Sisus.Init.IThirdArgument< TThirdArgument > Sisus.Init.IFourthArgument< TFourthArgument > Sisus.Init.IFifthArgument< TFifthArgument > Sisus.Init.ISixthArgument< TSixthArgument >

Protected Member Functions

void Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument, TSixthArgument sixthArgument)
 Initializes the object with six objects that it depends on.
 

Additional Inherited Members

- Public Member Functions inherited from Sisus.Init.IArgs< TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument, TSixthArgument >
void Validate (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument, TSixthArgument sixthArgument)
 Validates the initialization arguments that were provided to this client.