DeleteDirectorySettings Class

Summary

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

Syntax

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