public ReportPackage(string urlParameters, IEnumerable <ReportMessage.Session> sessions) { this.Key = string.Format(Memory.ActiveBox.KeyFormat, (object)Guid.NewGuid()); this.UrlParameters = urlParameters; this._reportMessage = ReportPackage.ToReportMessage(sessions); this._rawStream = this.GetRawStream(); }