BalloonsPop.SoundPlayer.SoundsModule.Load C# (CSharp) 메소드

Load() 공개 메소드

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