public void CopyFrom(MFVideoNormalizedRect from) { left = from.left; top = from.top; right = from.right; bottom = from.bottom; }
public override bool Equals(object obj) { if (obj is MFVideoNormalizedRect) { #pragma warning disable IDE0020 // Use pattern matching MFVideoNormalizedRect cmp = (MFVideoNormalizedRect)obj; #pragma warning restore IDE0020 // Use pattern matching return(right == cmp.right && bottom == cmp.bottom && left == cmp.left && top == cmp.top); } return(false); }