WatchSettings Class

Summary

Specifies a set of values that are used to watch file changes.
Assembly
Cake.Watch.dll
Namespace
Cake.Watch
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["WatchSettings"] class Type type-node

Syntax

public class WatchSettings

Constructors

Name Summary
WatchSettings()

Properties

Name Value Summary
Path string
Gets or sets root directory to watch file changes.
Pattern string
Gets or sets string to match against the names of files in path.
Recursive bool
Gets or sets whether the watcher should watch all subdirectories or only the current directory.

Extension Methods

Name Value Summary
Dump<WatchSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<WatchSettings>(WatchSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<WatchSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<WatchSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<WatchSettings>(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<WatchSettings>(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
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin