C# Класс Myre.Entities.NinjectKernel

Contains a singleton ninject kernel instance.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

BindGame() публичный статический Метод

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.
Результат void

BindGame() публичный статический Метод

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.
Результат void