ImageOptimizerSettings Class

Summary

The settings to use with when optimzing images
Assembly
Cake.ImageOptimizer.dll
Namespace
Cake.ImageOptimizer
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ImageOptimizerSettings"] class Type type-node

Syntax

public class ImageOptimizerSettings

Constructors

Name Summary
ImageOptimizerSettings() Initializes a new instance of the ImageOptimizerSettings class.

Properties

Name Value Summary
ConfigFile FilePath
Gets or sets the location of the config file to use
SearchFilter string
The filter to use when searching for files
SearchScope SearchScope
The scope to use when searching for files
Services string
Gets or sets the list of services to use when opimzing

Extension Methods

Name Value Summary
Dump<ImageOptimizerSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ImageOptimizerSettings>(ImageOptimizerSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ImageOptimizerSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<ImageOptimizerSettings>(string) void
Requires the Cake.Issues addin
ThrowIfNull<ImageOptimizerSettings>(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
ThrowIfNull<ImageOptimizerSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin