This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.ImageOptimizer.
Summary
Initializes a new instance of the
OptimizedFile
class.
- Assembly
- Cake
.ImageOptimizer .dll - Namespace
- Cake
.ImageOptimizer - Containing Type
- OptimizedFile
Syntax
public OptimizedFile(FilePath path, string service, DateTimeOffset optimizedDate, string optimizedHash, double sizeBefore, double sizeAfter)
Parameters
Name | Type | Description |
---|---|---|
path | FilePath | The path to the image. |
service | string | The name of the service used to optimize the image |
optimizedDate | DateTimeOffset | The date the image was optimized. |
optimizedHash | string | The hash of the file after optimization. |
sizeBefore | double | The size of the image before optimzation. |
sizeAfter | double | The size of the image after optimziation. |
Return Value
Type | Description |
---|---|
void |