Browse Source

Sealed classes.

pull/73/head
Dirk Lemstra 9 years ago
parent
commit
0b7e674fac
  1. 2
      src/ImageSharp/Image.cs
  2. 2
      src/ImageSharp/ImageFrame.cs

2
src/ImageSharp/Image.cs

@ -13,7 +13,7 @@ namespace ImageSharp
/// packed into a single unsigned integer value. /// packed into a single unsigned integer value.
/// </summary> /// </summary>
[DebuggerDisplay("Image: {Width}x{Height}")] [DebuggerDisplay("Image: {Width}x{Height}")]
public class Image : Image<Color> public sealed class Image : Image<Color>
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="Image"/> class /// Initializes a new instance of the <see cref="Image"/> class

2
src/ImageSharp/ImageFrame.cs

@ -11,7 +11,7 @@ namespace ImageSharp
/// An optimized frame for the <see cref="Image"/> class. /// An optimized frame for the <see cref="Image"/> class.
/// </summary> /// </summary>
[DebuggerDisplay("ImageFrame: {Width}x{Height}")] [DebuggerDisplay("ImageFrame: {Width}x{Height}")]
public class ImageFrame : ImageFrame<Color> public sealed class ImageFrame : ImageFrame<Color>
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="ImageFrame"/> class. /// Initializes a new instance of the <see cref="ImageFrame"/> class.

Loading…
Cancel
Save