Exemple #1
0
 public SessionSummary(DbModel.Session dbSession)
 {
     this.ClientAddress    = dbSession.ClientAddress;
     this.ClientName       = dbSession.ClientName;
     this.NumberOfMessages = dbSession.NumberOfMessages;
     this.Id      = dbSession.Id;
     this.EndDate = dbSession.EndDate;
 }
Exemple #2
0
 public SessionSummary(DbModel.Session dbSession)
 {
     ClientAddress    = dbSession.ClientAddress;
     ClientName       = dbSession.ClientName;
     NumberOfMessages = dbSession.NumberOfMessages;
     Id      = dbSession.Id;
     EndDate = dbSession.EndDate;
 }
Exemple #3
0
 public SessionSummary(DbModel.Session dbSession)
 {
     this.ClientAddress    = dbSession.ClientAddress;
     this.ClientName       = dbSession.ClientName;
     this.NumberOfMessages = dbSession.NumberOfMessages;
     this.Id                  = dbSession.Id;
     this.EndDate             = dbSession.EndDate;
     this.StartDate           = dbSession.StartDate;
     this.TerminatedWithError = dbSession.SessionError != null;
     this.Size                = dbSession.Log?.Length ?? 0;
 }
Exemple #4
0
 public Session(DbModel.Session dbSession)
 {
     Id  = dbSession.Id;
     Log = dbSession.Log;
 }
Exemple #5
0
 public Session(DbModel.Session dbSession)
 {
     this.Id  = dbSession.Id;
     this.Log = dbSession.Log;
 }
Exemple #6
0
 public Session(DbModel.Session dbSession)
 {
     this.Id        = dbSession.Id;
     this.Error     = dbSession.SessionError;
     this.ErrorType = dbSession.SessionErrorType.ToString();
 }