OptimizedFileEventArgs Class

Summary

The optimized file event arguments
Assembly
Cake.ImageOptimizer.dll
Namespace
Cake.ImageOptimizer
Base Types
  • EventArgs
graph BT Type-->Base0["EventArgs"] Type["OptimizedFileEventArgs"] class Type type-node

Syntax

public class OptimizedFileEventArgs : EventArgs

Constructors

Name Summary
OptimizedFileEventArgs(IList<OptimizedFile>) Initializes a new instance of the OptimizedFileEventArgs class.
OptimizedFileEventArgs(OptimizedFile) Initializes a new instance of the OptimizedFileEventArgs class.

Properties

Name Value Summary
File OptimizedFile
Gets the optimized file
Files IList<OptimizedFile>
Gets the list of optimized files

Extension Methods

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