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

Description

A base class for an object that depends on two 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.
Inheritance diagram for Sisus.Init.Requires< TFirstArgument, TSecondArgument >:
Sisus.Init.IInitializable< TFirstArgument, TSecondArgument > Sisus.Init.IArgs< TFirstArgument, TSecondArgument > Sisus.Init.ITwoArguments Sisus.Init.IFirstArgument< TFirstArgument > Sisus.Init.ISecondArgument< TSecondArgument >

Protected Member Functions

void Init (TFirstArgument firstArgument, TSecondArgument secondArgument)
 Initializes the object with two objects that it depends on.
 

Additional Inherited Members

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