BalloonsPop.GameModels.ModelsModule.Load C# (CSharp) Méthode

Load() public méthode

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