Directory Class

Summary

Represents a directory copy statement
Assembly
Cake.Endpoint.dll
Namespace
Cake.Endpoint.Model
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Directory"] class Type type-node

Syntax

public class Directory

Constructors

Name Summary
Directory()

Properties

Name Value Summary
SourcePath string
Gets or sets the source directory path
TargetPath string
Gets or sets the target directory path

Extension Methods

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