From 4d3532d39b5928de0db10a69fe2e954111eb2f59 Mon Sep 17 00:00:00 2001 From: Scott Williams Date: Mon, 2 Jan 2017 10:13:16 +0000 Subject: [PATCH] drop configuration extensions --- .../ConfigurationExtensions.cs | 29 ------------------- .../ConfigurationExtensions.cs | 29 ------------------- .../ConfigurationExtensions.cs | 29 ------------------- .../ConfigurationExtensions.cs | 29 ------------------- 4 files changed, 116 deletions(-) delete mode 100644 src/ImageSharp.Formats.Bmp/ConfigurationExtensions.cs delete mode 100644 src/ImageSharp.Formats.Gif/ConfigurationExtensions.cs delete mode 100644 src/ImageSharp.Formats.Jpeg/ConfigurationExtensions.cs delete mode 100644 src/ImageSharp.Formats.Png/ConfigurationExtensions.cs diff --git a/src/ImageSharp.Formats.Bmp/ConfigurationExtensions.cs b/src/ImageSharp.Formats.Bmp/ConfigurationExtensions.cs deleted file mode 100644 index 6f24f96e9..000000000 --- a/src/ImageSharp.Formats.Bmp/ConfigurationExtensions.cs +++ /dev/null @@ -1,29 +0,0 @@ -// -// Copyright (c) James Jackson-South and contributors. -// Licensed under the Apache License, Version 2.0. -// - -namespace ImageSharp -{ - using System; - using System.IO; - - using Formats; - - /// - /// Extension methods for the type. - /// - public static partial class ConfigurationExtensions - { - /// - /// Adds the BMP format. - /// - /// The config. - /// The config - public static Configuration AddBmpFormat(this Configuration config) - { - config.AddImageFormat(new BmpFormat()); - return config; - } - } -} diff --git a/src/ImageSharp.Formats.Gif/ConfigurationExtensions.cs b/src/ImageSharp.Formats.Gif/ConfigurationExtensions.cs deleted file mode 100644 index 3720423cf..000000000 --- a/src/ImageSharp.Formats.Gif/ConfigurationExtensions.cs +++ /dev/null @@ -1,29 +0,0 @@ -// -// Copyright (c) James Jackson-South and contributors. -// Licensed under the Apache License, Version 2.0. -// - -namespace ImageSharp -{ - using System; - using System.IO; - - using Formats; - - /// - /// Extension methods for the type. - /// - public static partial class ConfigurationExtensions - { - /// - /// Adds the Gif format. - /// - /// The config. - /// The config - public static Configuration AddGifFormat(this Configuration config) - { - config.AddImageFormat(new GifFormat()); - return config; - } - } -} diff --git a/src/ImageSharp.Formats.Jpeg/ConfigurationExtensions.cs b/src/ImageSharp.Formats.Jpeg/ConfigurationExtensions.cs deleted file mode 100644 index 28d49629d..000000000 --- a/src/ImageSharp.Formats.Jpeg/ConfigurationExtensions.cs +++ /dev/null @@ -1,29 +0,0 @@ -// -// Copyright (c) James Jackson-South and contributors. -// Licensed under the Apache License, Version 2.0. -// - -namespace ImageSharp -{ - using System; - using System.IO; - - using Formats; - - /// - /// Extension methods for the type. - /// - public static partial class ConfigurationExtensions - { - /// - /// Adds the Jpeg format. - /// - /// The config. - /// The config - public static Configuration AddJpegFormat(this Configuration config) - { - config.AddImageFormat(new JpegFormat()); - return config; - } - } -} diff --git a/src/ImageSharp.Formats.Png/ConfigurationExtensions.cs b/src/ImageSharp.Formats.Png/ConfigurationExtensions.cs deleted file mode 100644 index e09f0a0cb..000000000 --- a/src/ImageSharp.Formats.Png/ConfigurationExtensions.cs +++ /dev/null @@ -1,29 +0,0 @@ -// -// Copyright (c) James Jackson-South and contributors. -// Licensed under the Apache License, Version 2.0. -// - -namespace ImageSharp -{ - using System; - using System.IO; - - using Formats; - - /// - /// Extension methods for the type. - /// - public static partial class ConfigurationExtensions - { - /// - /// Adds the Png format. - /// - /// The Image configurations. - /// The Configuration object - public static Configuration AddPngFormat(this Configuration config) - { - config.AddImageFormat(new PngFormat()); - return config; - } - } -}