Endpoint Class

Summary

Repesenting an endpoint that contains source / target mappings
Assembly
Cake.Endpoint.dll
Namespace
Cake.Endpoint.Model
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Endpoint"] class Type type-node

Syntax

public class Endpoint

Constructors

Name Summary
Endpoint()

Properties

Name Value Summary
CreateRelease bool
Gets or sets a value indicating that the endpoint should be released.
Directories Directory[]
Gets or sets a list of directory copy statements.
Files File[]
Gets or sets a list of file copy statements
Id string
Gets or sets a value indicating the Id of an endpoint. The Id is used for the relative target directory.

Extension Methods

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