BalloonsPop.SoundPlayer.SoundsModule.Load C# (CSharp) Method

Load() public method

Binds the exports to the module kernel.
public Load ( ) : void
return void
        public override void Load()
        {
            this.AppKernel.Unbind<ISoundsPlayer>();
            this.AppKernel.Bind<ISoundsPlayer>().ToMethod(x => new SoundsPlayer(new SoundsLoader())).InSingletonScope();
        }