public Job(Guid id, Guid handlerId, string jobInputString, string hash) { Id = id; HandlerId = handlerId; Hash = hash; JobInputCompressed = ZipUtility.GZipCompress(Encoding.UTF8.GetBytes(jobInputString)); }
public JobResult(Job job, Guid clientId, string jobOutputString) : this(job, clientId) { JobOutputCompressed = ZipUtility.GZipCompress(Encoding.UTF8.GetBytes(jobOutputString)); }