Exemplo n.º 1
0
 public void SetData(IBeatResponse response)
 {
     if (response == null)
     {
         throw new ArgumentNullException("response");
     }
     this.IsAlive = response.IsAlive;
     this.Status = response.Status;
     this.ReasonPhrase = response.ReasonPhrase;
     this.Description = response.Description;
 }
Exemplo n.º 2
0
 public void SetData(IBeatResponse response)
 {
     if (response == null)
     {
         throw new ArgumentNullException("response");
     }
     this.IsAlive      = response.IsAlive;
     this.Status       = response.Status;
     this.ReasonPhrase = response.ReasonPhrase;
     this.Description  = response.Description;
 }