Extensions.

NotFtpUriScheme(Uri, string) Method

Summary

Throws an exception if the specified parameter's value does not match FTP URI scheme.
Assembly
Cake.Ftp.dll
Namespace
Cake.Ftp
Containing Type
Extensions

Syntax

public static void NotFtpUriScheme(this Uri value, string parameterName)

Parameters

Name Type Description
value Uri The value of the argument.
parameterName string The name of the parameter to include in any thrown exception.

Return Value

Type Description
void