Protocol Class

Summary

Transfer protocol.
Assembly
Cake.Putty.dll
Namespace
Cake.Putty
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["Protocol"] class Type type-node

Syntax

public sealed class Protocol : Enum

Fields

Name Constant Value Summary
Scp 1
SCP
static
Sftp 0
SFTP
static
value__

Extension Methods

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