Skip to content

Commit a102a87

Browse files
Remove PostConfigure
1 parent a72d3b3 commit a102a87

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

src/ImageSharp.Web/DependencyInjection/ImageSharpBuilderExtensions.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -375,22 +375,6 @@ public static IImageSharpBuilder Configure<TOptions>(this IImageSharpBuilder bui
375375
return builder;
376376
}
377377

378-
/// <summary>
379-
/// Registers an action used to configure a particular type of options.
380-
/// Note: These are run after all <see cref="Configure{T}(IImageSharpBuilder, Action{T})"/>.
381-
/// </summary>
382-
/// <typeparam name="T">The options type to be configured.</typeparam>
383-
/// <param name="builder">The core builder.</param>
384-
/// <param name="configureOptions">The action used to configure the options.</param>
385-
/// <returns>The <see cref="IImageSharpBuilder"/>.</returns>
386-
public static IImageSharpBuilder PostConfigure<T>(this IImageSharpBuilder builder, Action<T> configureOptions)
387-
where T : class
388-
{
389-
builder.Services.PostConfigure(configureOptions);
390-
391-
return builder;
392-
}
393-
394378
private static Type GetImplementationType(this ServiceDescriptor descriptor)
395379
=> descriptor.ImplementationType
396380
?? descriptor.ImplementationInstance?.GetType()

0 commit comments

Comments
 (0)