예제 #1
0
 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));
 }