RewriteRuleRedirectType Class

Summary

Redirects types accepted by IIS
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["RewriteRuleRedirectType"] class Type type-node

Syntax

public sealed class RewriteRuleRedirectType : Enum

Fields

Name Constant Value Summary
Found 1
Respond a 302 to client
static
Permanent 0
Respond a 301 to client
static
SeeOther 2
Respond a 303 to client
static
Temporary 3
Respond a 307 to client
static
value__

Extension Methods

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