Ejemplo n.º 1
0
 public override void ExecuteCommand()
 {
     try {
         var contacts = JsonConvert.DeserializeObject <List <AgentContact> >(value);
         foreach (var contact in contacts)
         {
             Agent.AddContact(contact);
         }
     } catch (Exception e) {
         Debug.Log(e.Message, Logger.Level.Error);
     }
 }