Exemple #1
0
 public BaseData(BaseData data)
 {
     this.Id        = data.Id;
     this.From      = data.From;
     this.To        = data.To;
     this.Timestamp = data.Timestamp;
     this.Error     = data.Error;
 }
Exemple #2
0
 public ErrorIQ(DataError error)
 {
     if (error == null)
     {
         throw new ArgumentNullException();
     }
     this.Type  = IQ.IQType.Error;
     this.Error = error;
 }