SvnAddSettings Class

Summary

Settings for SvnAdder.
Assembly
Cake.Svn.dll
Namespace
Cake.Svn.Add
Base Types
graph BT Type-->Base0["SvnSettings"] click Base0 "/api/Cake.Svn/SvnSettings" Base0-->Base1["Object"] Type["SvnAddSettings"] class Type type-node

Syntax

public sealed class SvnAddSettings : SvnSettings

Constructors

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

Properties

Name Value Summary
AddParents bool
Gets or sets a value indicating whether Subversion should recurse up path's directory and look for a versioned directory. If found, add all intermediate paths between it and path. If not found the command will not succeed.
AutoProperties bool
Gets or sets a value indicating whether auto properties should be enabled on the file or folder.
Depth SvnDepth
Gets or sets a the tree depth to which Subversion should limit the scope.
Force bool
Gets or sets a value indicating whether the command should be forced. If Force is not set and path is already under version control the command will not succeed. If Force is set, do not error on already-versioned items. When used on a directory in conjunction with the recursive flag, this has the effect of scheduling for addition unversioned files and directories scattered deep within a versioned tree.
Ignore bool
Gets or sets a value indicating whether files or directories which are not under Subversion control should be ignored.
ThrowOnCancel bool
Gets or sets a value indicating whether the call must throw an error if the operation is canceled. Defaults to true.
Inherited from SvnSettings
ThrowOnError bool
Gets or sets a value indicating whether the call must throw an error if an error occurs. Defaults to true.
Inherited from SvnSettings
ThrowOnWarning bool
Gets or sets a value indicating whether the call must throw an error if a non fatal error occurs. Defaults to false.
Inherited from SvnSettings

Extension Methods

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