Class IFileUrlExtensions
Extension methods for IFileUrl interface.
public static class IFileUrlExtensions
- Inheritance
-
objectIFileUrlExtensions
Methods
WithSizeConstraint(IFileUrl, SizeConstraint)
Provides size constraints to the file URL if file represents an image based on given parameters.
public static IFileUrl WithSizeConstraint(this IFileUrl url, SizeConstraint constraint)
Parameters
url
IFileUrlFile URL.
constraint
SizeConstraintSize constraint.
Returns
Remarks
The original file URL instance is not modified by the parametrization.