From 37931c529671e2fabe202529ef8ceb96606f23cf Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Fri, 5 May 2017 14:58:30 +0200 Subject: [PATCH] Made the Image class static. --- src/ImageSharp/Image/Image.Create.cs | 2 +- src/ImageSharp/Image/Image.Decode.cs | 2 +- src/ImageSharp/Image/Image.FromBytes.cs | 2 +- src/ImageSharp/Image/Image.FromFile.cs | 2 +- src/ImageSharp/Image/Image.FromStream.cs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ImageSharp/Image/Image.Create.cs b/src/ImageSharp/Image/Image.Create.cs index e251167ec7..82ebecd41d 100644 --- a/src/ImageSharp/Image/Image.Create.cs +++ b/src/ImageSharp/Image/Image.Create.cs @@ -10,7 +10,7 @@ namespace ImageSharp /// /// Adds static methods allowing the creation of new images from given dimensions. /// - public sealed partial class Image + public static partial class Image { /// /// Create a new instance of the class with the given height and the width. diff --git a/src/ImageSharp/Image/Image.Decode.cs b/src/ImageSharp/Image/Image.Decode.cs index df839e9fe9..c162f17726 100644 --- a/src/ImageSharp/Image/Image.Decode.cs +++ b/src/ImageSharp/Image/Image.Decode.cs @@ -15,7 +15,7 @@ namespace ImageSharp /// /// Adds static methods allowing the decoding of new images. /// - public sealed partial class Image + public static partial class Image { /// /// By reading the header on the provided stream this calculates the images format. diff --git a/src/ImageSharp/Image/Image.FromBytes.cs b/src/ImageSharp/Image/Image.FromBytes.cs index 7895429a3b..c7309c4b14 100644 --- a/src/ImageSharp/Image/Image.FromBytes.cs +++ b/src/ImageSharp/Image/Image.FromBytes.cs @@ -13,7 +13,7 @@ namespace ImageSharp /// /// Adds static methods allowing the creation of new image from a byte array. /// - public sealed partial class Image + public static partial class Image { /// /// Create a new instance of the class from the given byte array. diff --git a/src/ImageSharp/Image/Image.FromFile.cs b/src/ImageSharp/Image/Image.FromFile.cs index e7014fe49a..a135c43f5e 100644 --- a/src/ImageSharp/Image/Image.FromFile.cs +++ b/src/ImageSharp/Image/Image.FromFile.cs @@ -14,7 +14,7 @@ namespace ImageSharp /// /// Adds static methods allowing the creation of new image from a given file. /// - public sealed partial class Image + public static partial class Image { /// /// Create a new instance of the class from the given file. diff --git a/src/ImageSharp/Image/Image.FromStream.cs b/src/ImageSharp/Image/Image.FromStream.cs index c27762096f..1bcb5adc9a 100644 --- a/src/ImageSharp/Image/Image.FromStream.cs +++ b/src/ImageSharp/Image/Image.FromStream.cs @@ -15,7 +15,7 @@ namespace ImageSharp /// /// Adds static methods allowing the creation of new image from a given stream. /// - public sealed partial class Image + public static partial class Image { /// /// Create a new instance of the class from the given stream.