Skip to content

Commit

Permalink
Merge pull request #245 from ronaldbarendse/feature/cleanup-di-config…
Browse files Browse the repository at this point in the history
…uration

Remove no-op ImageSharpConfiguration and setup action
  • Loading branch information
JimBobSquarePants authored Apr 22, 2022
2 parents 669b403 + 2d5e0d4 commit ba216da
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
19 changes: 0 additions & 19 deletions src/ImageSharp.Web/DependencyInjection/ImageSharpConfiguration.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ public static IImageSharpBuilder AddImageSharp(
Guard.NotNull(services, nameof(services));
Guard.NotNull(setupAction, nameof(setupAction));

services.TryAddTransient<IConfigureOptions<ImageSharpMiddlewareOptions>, ImageSharpConfiguration>();

IImageSharpBuilder builder = new ImageSharpBuilder(services);

AddDefaultServices(builder, setupAction);
Expand Down

0 comments on commit ba216da

Please sign in to comment.