BalloonsPop.GameModels.ModelsModule.Load C# (CSharp) Method

Load() public method

Binds the exports of the current module to their respective interfaces.
public Load ( ) : void
return void
        public override void Load()
        {
            kernel.Unbind<IBalloon>();
            kernel.Unbind<IGameModel>();
            kernel.Bind<IBalloon>().To<Balloon>();
            kernel.Bind<IGameModel>().To<GameModel>();
        }