C# Class Myre.Entities.NinjectKernel

Contains a singleton ninject kernel instance.
Afficher le fichier Open project: TomGillen/Myre

Méthodes publiques

Méthode Description
BindGame ( Microsoft.Xna.Framework.Game game, IKernel kernel, bool bindGraphicsDevice = true, bool bindContentManager = true, bool bindServiceContainer = true ) : void

Binds the game into the kernel.

BindGame ( Microsoft.Xna.Framework.Game game, bool bindGraphicsDevice = true, bool bindContentManager = true, bool bindServiceContainer = true ) : void

Binds the game into the kernel.

Method Details

BindGame() public static méthode

Binds the game into the kernel.
public static BindGame ( Microsoft.Xna.Framework.Game game, IKernel kernel, bool bindGraphicsDevice = true, bool bindContentManager = true, bool bindServiceContainer = true ) : void
game Microsoft.Xna.Framework.Game The game.
kernel IKernel The kernel to bind into.
bindGraphicsDevice bool if set to true binds game.GraphicsDevice.
bindContentManager bool if set to true binds game.Content.
bindServiceContainer bool if set to true binds game.Services.
Résultat void

BindGame() public static méthode

Binds the game into the kernel.
public static BindGame ( Microsoft.Xna.Framework.Game game, bool bindGraphicsDevice = true, bool bindContentManager = true, bool bindServiceContainer = true ) : void
game Microsoft.Xna.Framework.Game The game.
bindGraphicsDevice bool if set to true binds game.GraphicsDevice.
bindContentManager bool if set to true binds game.Content.
bindServiceContainer bool if set to true binds game.Services.
Résultat void