コード例 #1
0
        protected virtual bool IsSameSrcImage(ImageResize other)
        {
            if (other != null)
            {
                return (File == other.File
                    && Image == other.Image);
            }

            return false;
        }
コード例 #2
0
        protected virtual bool IsSameSrcImage(ImageResize other)
        {
            if (other != null)
            {
                return(File == other.File &&
                       Image == other.Image);
            }

            return(false);
        }
コード例 #3
0
        protected virtual bool IsSameDstImage(ImageResize other)
        {
            if (other != null)
            {
                return (Width == other.Width
                    && Height == other.Height
                    && UsePercentages == other.UsePercentages
                    && PreserveAspectRatio == other.PreserveAspectRatio);
            }

            return false;
        }
コード例 #4
0
        protected virtual bool IsSameDstImage(ImageResize other)
        {
            if (other != null)
            {
                return(Width == other.Width &&
                       Height == other.Height &&
                       UsePercentages == other.UsePercentages &&
                       PreserveAspectRatio == other.PreserveAspectRatio);
            }

            return(false);
        }