C# 클래스 Myre.Entities.NinjectKernel

Contains a singleton ninject kernel instance.
파일 보기 프로젝트 열기: TomGillen/Myre

공개 메소드들

메소드 설명
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