public SCoordsWorkRequest(TransformType transformType, SCoords sCoords, CanvasSize canvasSize, MapSection mapSection, int jobId)
 {
     TransformType = transformType;
     SCoords       = sCoords ?? throw new ArgumentNullException(nameof(sCoords));
     CanvasSize    = canvasSize ?? throw new ArgumentNullException(nameof(canvasSize));
     MapSection    = mapSection ?? throw new ArgumentNullException(nameof(mapSection));
     JobId         = jobId;
 }
示例#2
0
 public MapSectionResult(int jobId, MapSection mapSection, int[] imageData)
 {
     JobId      = jobId;
     MapSection = mapSection ?? throw new ArgumentNullException(nameof(mapSection));
     ImageData  = imageData ?? throw new ArgumentNullException(nameof(imageData));
 }