ImageOptimizerToolSettings Class

Summary

Contains settings used by ImageOptimizerToolSettings.
Assembly
Cake.ImageOptimizer.dll
Namespace
Cake.ImageOptimizer
Base Types
  • ToolSettings
graph BT Type-->Base0["ToolSettings"] Type["ImageOptimizerToolSettings"] class Type type-node

Syntax

public sealed class ImageOptimizerToolSettings : ToolSettings

Constructors

Properties

Name Value Summary
OutputPath FilePath
Gets or sets the output path of the optimized image
SourcePath FilePath
Gets or sets the source path of the image to optimize

Extension Methods

Name Value Summary
Dump<ImageOptimizerToolSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ImageOptimizerToolSettings>(ImageOptimizerToolSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ImageOptimizerToolSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<ImageOptimizerToolSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<ImageOptimizerToolSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<ImageOptimizerToolSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin