Пример #1
0
 public NoiseRequest(int width, int height, INoiseFractal noise, IWarpFractal warp) : base(width, height)
 {
     Noise = noise ?? throw new ArgumentNullException(nameof(noise));
     Warp  = warp ?? throw new ArgumentNullException(nameof(warp));
 }
Пример #2
0
 public WarpRequest(int width, int height, IWarpFractal warp) : base(width, height)
 {
     Warp = warp ?? throw new ArgumentNullException(nameof(warp));
 }