public override bool Equals(object obj) { DimensionalResizeInfo other = (DimensionalResizeInfo)obj; return(Mode == other.Mode && Value == other.Value); }
public ImageResizeInfo(BitmapSource source, DimensionalResizeInfo widthResizeInfo, DimensionalResizeInfo heightResizeInfo) { SourceImage = source; WidthResizeInfo = widthResizeInfo; HeightResizeInfo = heightResizeInfo; }