C# Class Protogame.FromServerAttribute

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

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

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