comparison MetroWpf/Stocks.Service/StocksService.cs @ 23:399398841fd0

Working version for Stocks (including loosely coupled components
author adminsh@apollo
date Tue, 20 Mar 2012 16:53:29 +0000
parents dfc81f8bb838
children
comparison
equal deleted inserted replaced
22:a7a4cde39999 23:399398841fd0
128 webPrice.CurrentPrice, 128 webPrice.CurrentPrice,
129 webPrice.PreviousPrice)); 129 webPrice.PreviousPrice));
130 continue; 130 continue;
131 } 131 }
132 132
133 if (!localPrice.Equals(webPrice)) 133 if (localPrice.CurrentPrice != webPrice.CurrentPrice)
134 UpdateLocalPrice(webPrice, localPrice); 134 UpdateLocalPrice(webPrice, localPrice);
135 } 135 }
136 } 136 }
137 137
138 private void UpdateLocalPrice(Price webPrice, Price localPrice) 138 private void UpdateLocalPrice(Price webPrice, Price localPrice)