RewriteRuleSettings Class

Summary

Rewrite rule settings
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["RewriteRuleSettings"] class Type type-node

Syntax

public class RewriteRuleSettings

Constructors

Name Summary
RewriteRuleSettings()

Properties

Name Value Summary
Action IRewriteAction
The action to be executed if this rule was succeeded
Conditions IEnumerable<RewriteRuleConditionSettings>
Conditions collection for this rule
ConditionsGrouping RewriteConditionsGrouping
Choose conditions behavior between AND or OR
IgnoreCase bool
Ignore the URL case
Name string
Rule name
NegatePattern bool
Invert the pattern behavior
Pattern string
The pattern to validate the URL
PatternSintax RewritePatternSintax
Pattern comparison type
StopProcessing bool
Stop processing other rules if this rule was succeeded

Extension Methods

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