C# Class Protogame.FromGameAttribute

Specifies that the injected argument should be found from the game's scope. This searches directly up the tree until a game is found, or returns null if no game was found.

The context of the dependency injection plan must be an object that is instantiated as a dependency of the game or created with a factory that is injected into the game or one of it's dependencies.

Inheritance: Protoinject.ScopeAttribute
Afficher le fichier Open project: RedpointGames/Protogame