H1: beeldpijplijn in Core.Media (Magick.NET achter IImageProcessor), pure functies met property-tests, uploadwacht
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
using SlpModularCms.Core.Media;
|
||||
|
||||
namespace SlpModularCms.Core.Media.Magick;
|
||||
|
||||
public static class MagickServiceCollectionExtensions
|
||||
{
|
||||
/// <summary>Registers the Magick.NET implementation of <see cref="IImageProcessor"/> (stateless, thread-safe).</summary>
|
||||
public static IServiceCollection AddMagickImageProcessor(this IServiceCollection services)
|
||||
{
|
||||
services.TryAddSingleton<IImageProcessor, MagickImageProcessor>();
|
||||
return services;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user