private static void PopulateBuying(string xmlResult) { var buying = BuyingParsing.ParseBuying(xmlResult); IsBuyingCompleted = true; if (OnBuyingCompleted != null) { OnBuyingCompleted(buying); } }