public override void CloneDataFromRead(PngChunk other) { PngChunkPHYS pngChunkPHYS = (PngChunkPHYS)other; PixelsxUnitX = pngChunkPHYS.PixelsxUnitX; PixelsxUnitY = pngChunkPHYS.PixelsxUnitY; Units = pngChunkPHYS.Units; }
public override void CloneDataFromRead(PngChunk other) { PngChunkPHYS otherx = (PngChunkPHYS)other; this.PixelsxUnitX = otherx.PixelsxUnitX; this.PixelsxUnitY = otherx.PixelsxUnitY; this.Units = otherx.Units; }
private void CloneData(PngChunkPHYS other) { if (other is null) { throw new System.ArgumentNullException(nameof(other)); } PixelsxUnitX = other.PixelsxUnitX; PixelsxUnitY = other.PixelsxUnitY; Units = other.Units; }