public override void InstallBindings() { SeasonInstaller.Install(Container); // ValueObjects Container.BindInstance(SeasonTexts); }
public void Install() { PreInstall(); SeasonInstaller.Install(Container); // To overwrite at testcase Container.Unbind <ISettingReloadable>(); Container.Unbind <ISettingReadable>(); Container.BindInterfacesTo <SettingHandler>().AsCached(); // ValueObjects Container .BindInstance( new List <SeasonInformation> { new SeasonInformation(Season.Summer, "夏", "夏 is summer", Color.blue), } as IEnumerable <SeasonInformation> ); }