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

Description

A base class for an object that depends on one service.

If the object depends on a class that has the ServiceAttribute then it will be able to receive it in its Init method automatically during initialization.

Template Parameters
TArgumentType of the argument received in the Init method.
Inheritance diagram for Sisus.Init.Requires< TArgument >:
Sisus.Init.IInitializable< TArgument > Sisus.Init.IArgs< TArgument > Sisus.Init.IOneArgument Sisus.Init.IFirstArgument< TFirstArgument >

Protected Member Functions

void Init (TArgument argument)
 Initializes the object with an object that it depends on.
 

Additional Inherited Members

- Public Member Functions inherited from Sisus.Init.IArgs< TArgument >
void Validate (TArgument argument)
 Validates the initialization argument that was provided to this client.