예제 #1
0
파일: BaseData.cs 프로젝트: oceannut/Qyim
 public BaseData(BaseData data)
 {
     this.Id        = data.Id;
     this.From      = data.From;
     this.To        = data.To;
     this.Timestamp = data.Timestamp;
     this.Error     = data.Error;
 }
예제 #2
0
 public ErrorIQ(DataError error)
 {
     if (error == null)
     {
         throw new ArgumentNullException();
     }
     this.Type  = IQ.IQType.Error;
     this.Error = error;
 }