File Class

Summary

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

Syntax

public class File

Constructors

Name Summary
File()

Properties

Name Value Summary
IsFilePath bool
Gets or sets the file path flag
SourcePath string
Gets or sets the source file path
TargetPath string
Gets or sets the target path

Extension Methods

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