EnsureDirectoryDoesNotExistSettings Class

Summary

Contains settings used by EnsureDirectoryDoesNotExistSettings.
Namespace
Cake.Common.IO
Base Types
graph BT Type-->Base0["DeleteDirectorySettings"] click Base0 "/api/Cake.Common.IO/DeleteDirectorySettings" Base0-->Base1["object"] Type["EnsureDirectoryDoesNotExistSettings"] class Type type-node

Syntax

public class EnsureDirectoryDoesNotExistSettings : DeleteDirectorySettings

Properties

Name Value Summary
Force bool
Gets or sets a value indicating whether to delete read-only files if set to true. It is set to false by default.
Recursive bool
Gets or sets a value indicating whether to perform a recursive delete if set to true. It is set to false by default.

Extension Methods

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