This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.IIS.
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 |
|---|---|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| name | string | The rewrite rule name. |
Return Value
| Type | Description |
|---|---|
| bool | true if exists |
