Class ImageSharpImageUrlGenerator
Exposes a method that generates an image URL based on the specified options that can be processed by ImageSharp.
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.Media
Assembly: cs.temp.dll.dll
Syntax
public class ImageSharpImageUrlGenerator : IImageUrlGenerator
Constructors
ImageSharpImageUrlGenerator(Configuration)
Initializes a new instance of the Image
Declaration
public ImageSharpImageUrlGenerator(Configuration configuration)
Parameters
Type | Name | Description |
---|---|---|
Configuration | configuration | The ImageSharp configuration. |
Properties
SupportedImageFileTypes
Declaration
public IEnumerable<string> SupportedImageFileTypes { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
GetImageUrl(ImageUrlGenerationOptions)
Declaration
public string GetImageUrl(ImageUrlGenerationOptions options)
Parameters
Type | Name | Description |
---|---|---|
Image |
options |
Returns
Type | Description |
---|---|
System. |