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; }
public SessionSummary(DbModel.Session dbSession) { ClientAddress = dbSession.ClientAddress; ClientName = dbSession.ClientName; NumberOfMessages = dbSession.NumberOfMessages; Id = dbSession.Id; EndDate = dbSession.EndDate; }
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; }
public Session(DbModel.Session dbSession) { Id = dbSession.Id; Log = dbSession.Log; }
public Session(DbModel.Session dbSession) { this.Id = dbSession.Id; this.Log = dbSession.Log; }
public Session(DbModel.Session dbSession) { this.Id = dbSession.Id; this.Error = dbSession.SessionError; this.ErrorType = dbSession.SessionErrorType.ToString(); }