IFtpService Interface

Summary

Interface for the FtpService class.
Assembly
Cake.Ftp.dll
Namespace
Cake.Ftp.Services
Implementing Types
graph BT Type["IFtpService"] class Type type-node Implementing0["FtpService"]-.->Type click Implementing0 "/api/Cake.Ftp.Services/FtpService"

Syntax

public interface IFtpService

Methods

Name Value Summary
DeleteFile(Uri, string, string) void
Deletes a file.
UploadFile(Uri, IFile, string, string) void
Uploads a file.

Extension Methods

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