RewriteAliases.

RuleExists(ICakeContext, string) Method

Summary

Checks if rule exists on local IIS.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Containing Type
RewriteAliases

Syntax

public static bool RuleExists(this ICakeContext context, string name)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
name string The rewrite rule name.

Return Value

Type Description
bool true if exists