/// <inheritdoc/> public bool Equals(RawVideoStreamFormat other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return((ImagePixelFormat == other.ImagePixelFormat) && Resolution.Equals(other.Resolution) && Fps.Equals(other.Fps)); }