예제 #1
0
        public void Try_SaveDefaultEcoSpace()
        {
            ObjectIndex.Clear();
            var res = EcoSpaceFactory.MasterEcoSpace;

            DomainSerializer <IEcoSpaceDocument> .SaveToJsonFile(@"c:\temp\ecospace\broobu.json", res);

            WriteEcoSpace(res, true);
        }
예제 #2
0
        public void Try_GetUserEnvironmentInfo()
        {
            var res = GetUserEnvironmentInfo("*****@*****.**");

            DomainSerializer <UserEnvironmentInfo> .SaveToJsonFile(@"c:\temp\ecospace\boutiqueinfo.json", res);

            var mnu = EcoSpaceFactory.MasterEcoSpace.Menu;

            DomainSerializer <MenuContainer> .SaveToJsonFile(@"c:\temp\ecospace\defaultmenu.json", mnu);
        }