public void Copy(IEnumerable <Image> response) { try { this._allImages.Clear(); if (response.Count() > 0) { foreach (var item in response) { var newitem = new Image_Bindable(); item.Copy(newitem); this._allImages.Add(newitem); } HubImage.Url = _allImages.First().Url; } } catch (Exception e) { throw (e); } }
public APIMASH_EchoNest() { apiInvoke.OnResponse += apiInvoke_OnResponse; HubImage = new Image_Bindable(); }
public void Copy(Image_Bindable bindable) { bindable.Url = url; }