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

Description

A base class for an object that depends on five 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.
Inheritance diagram for Sisus.Init.Requires< TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument >:
Sisus.Init.IInitializable< TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument > Sisus.Init.IArgs< TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument > Sisus.Init.IFiveArguments Sisus.Init.IFirstArgument< TFirstArgument > Sisus.Init.ISecondArgument< TSecondArgument > Sisus.Init.IThirdArgument< TThirdArgument > Sisus.Init.IFourthArgument< TFourthArgument > Sisus.Init.IFifthArgument< TFifthArgument >

Protected Member Functions

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

Additional Inherited Members

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