Browse Source

improve method name

af/merge-core
Scott Williams 9 years ago
parent
commit
3d4e812f56
  1. 4
      src/ImageSharp/Image/ImageBase{TPixel}.cs
  2. 2
      src/ImageSharp/Image/ImageFrame{TPixel}.cs
  3. 2
      src/ImageSharp/Image/Image{TPixel}.cs

4
src/ImageSharp/Image/ImageBase{TPixel}.cs

@ -186,7 +186,7 @@ namespace SixLabors.ImageSharp
/// <returns>A new items which is a clone of the original.</returns> /// <returns>A new items which is a clone of the original.</returns>
public ImageBase<TPixel> Clone() public ImageBase<TPixel> Clone()
{ {
return this.CloneInternal(); return this.CloneImageBase();
} }
/// <inheritdoc /> /// <inheritdoc />
@ -266,7 +266,7 @@ namespace SixLabors.ImageSharp
/// Clones the image /// Clones the image
/// </summary> /// </summary>
/// <returns>A new items which is a clone of the original.</returns> /// <returns>A new items which is a clone of the original.</returns>
protected abstract ImageBase<TPixel> CloneInternal(); protected abstract ImageBase<TPixel> CloneImageBase();
/// <summary> /// <summary>
/// Copies the properties from the other <see cref="IImageBase"/>. /// Copies the properties from the other <see cref="IImageBase"/>.

2
src/ImageSharp/Image/ImageFrame{TPixel}.cs

@ -137,7 +137,7 @@ namespace SixLabors.ImageSharp
} }
/// <inheritdoc/> /// <inheritdoc/>
protected override ImageBase<TPixel> CloneInternal() protected override ImageBase<TPixel> CloneImageBase()
{ {
return this.Clone(); return this.Clone();
} }

2
src/ImageSharp/Image/Image{TPixel}.cs

@ -202,7 +202,7 @@ namespace SixLabors.ImageSharp
} }
/// <inheritdoc/> /// <inheritdoc/>
protected override ImageBase<TPixel> CloneInternal() protected override ImageBase<TPixel> CloneImageBase()
{ {
return this.Clone(); return this.Clone();
} }

Loading…
Cancel
Save