RewriteOptionsExtensions.Add メソッド

定義

オーバーロード

Add(RewriteOptions, IRule)

現在のルールにルールを追加します。

Add(RewriteOptions, Action<RewriteContext>)

現在のルールにルールを追加します。

Add(RewriteOptions, IRule)

現在のルールにルールを追加します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ Add(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options, Microsoft::AspNetCore::Rewrite::IRule ^ rule);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions Add (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, Microsoft.AspNetCore.Rewrite.IRule rule);
static member Add : Microsoft.AspNetCore.Rewrite.RewriteOptions * Microsoft.AspNetCore.Rewrite.IRule -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function Add (options As RewriteOptions, rule As IRule) As RewriteOptions

パラメーター

rule
IRule

現在のルールに追加するルール。

戻り値

[書き換え] オプション。

適用対象

Add(RewriteOptions, Action<RewriteContext>)

現在のルールにルールを追加します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ Add(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options, Action<Microsoft::AspNetCore::Rewrite::RewriteContext ^> ^ applyRule);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions Add (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, Action<Microsoft.AspNetCore.Rewrite.RewriteContext> applyRule);
static member Add : Microsoft.AspNetCore.Rewrite.RewriteOptions * Action<Microsoft.AspNetCore.Rewrite.RewriteContext> -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function Add (options As RewriteOptions, applyRule As Action(Of RewriteContext)) As RewriteOptions

パラメーター

applyRule
Action<RewriteContext>

ルールをチェックして適用する Func。

戻り値

適用対象