Extensions Class

Summary

Extension methods.
Assembly
Cake.Ftp.dll
Namespace
Cake.Ftp
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Extensions"] class Type type-node

Syntax

public static class Extensions

Methods

Name Value Summary
NotFtpUriScheme(Uri, string) void
Throws an exception if the specified parameter's value does not match FTP URI scheme.
static
NotNull<T>(T, string) void
Throws an exception if the specified parameter's value is null.
static
NotNullOrWhiteSpace(string, string) void
Throws an exception if the specified parameter's value is null, empty or consists only of white-space characters.
static

Extension Methods

Name Value Summary
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