Пример #1
0
 public virtual void Init(String baseUrl)
 {
     Goods.Initialize(baseUrl + "goods.xml");
     CoffeMachinePurse.Initialize(baseUrl + "coffee.xml");
     UserPurse.Initialize(baseUrl + "user.xml");
     PurchaseInfo.Initialize(baseUrl + "purchase.xml");
 }
Пример #2
0
 public virtual void Save(String baseUrl)
 {
     Goods.Save(baseUrl + "goods.xml");
     CoffeMachinePurse.Save(baseUrl + "coffee.xml");
     UserPurse.Save(baseUrl + "user.xml");
     PurchaseInfo.Save(baseUrl + "purchase.xml");
 }