예제 #1
0
 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);
     }
 }
예제 #2
0
 public APIMASH_EchoNest()
 {
     apiInvoke.OnResponse += apiInvoke_OnResponse;
     HubImage              = new Image_Bindable();
 }
예제 #3
0
 public void Copy(Image_Bindable bindable)
 {
     bindable.Url = url;
 }