C# Class Protogame.FromWorldAttribute

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

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

Inheritance: Protoinject.ScopeAttribute
Mostra file Open project: RedpointGames/Protogame