/// <summary> /// Initializes a new instance of the <see cref="ImageFrameMetaData"/> class /// by making a copy from other metadata. /// </summary> /// <param name="other"> /// The other <see cref="ImageFrameMetaData"/> to create this instance from. /// </param> internal ImageFrameMetaData(ImageFrameMetaData other) { DebugGuard.NotNull(other, nameof(other)); this.FrameDelay = other.FrameDelay; this.DisposalMethod = other.DisposalMethod; }
/// <summary> /// Copies the properties from the other <see cref="IImageFrame"/>. /// </summary> /// <param name="other"> /// The other <see cref="IImageFrame"/> to copy the properties from. /// </param> private void CopyProperties(IImageFrame other) { base.CopyProperties(other); this.MetaData = new ImageFrameMetaData(other.MetaData); }
/// <summary> /// Initializes a new instance of the <see cref="ImageFrameMetaData"/> class /// by making a copy from other metadata. /// </summary> /// <param name="other"> /// The other <see cref="ImageFrameMetaData"/> to create this instance from. /// </param> internal ImageFrameMetaData(ImageFrameMetaData other) { Debug.Assert(other != null); this.FrameDelay = other.FrameDelay; }