public void SaveTheme()
 {
     var bootstrap = new Bootstrap();
     bootstrap.SaveCommanderNameTheme(CommanderNameThemes.Instance.NameThemes);
 }
Beispiel #2
0
        public void Save_And_Load_CommanderNameThemes_To_JSON()
        {
            var bs = new Bootstrap();
            bs.SaveCommanderNameTheme(_nameThemes);

            var nt = bs.LoadCommanderNameTheme();
            Assert.IsNotNull(nt);
            Assert.IsNotEmpty(nt);
        }
 private CommanderNameThemes()
 {
     var bootstrap = new Bootstrap();
     NameThemes = bootstrap.LoadCommanderNameTheme();
 }