次の方法で共有


LoggingOptions.RouteParameterDataClasses プロパティ

定義

HTTP パス パラメーターとそのデータ分類の間のマップを取得または設定します。

[System.ComponentModel.DataAnnotations.Required]
public System.Collections.Generic.IDictionary<string,Microsoft.Extensions.Compliance.Classification.DataClassification> RouteParameterDataClasses { get; set; }
[<System.ComponentModel.DataAnnotations.Required>]
member this.RouteParameterDataClasses : System.Collections.Generic.IDictionary<string, Microsoft.Extensions.Compliance.Classification.DataClassification> with get, set
Public Property RouteParameterDataClasses As IDictionary(Of String, DataClassification)

プロパティ値

既定値は空のディクショナリです。

属性

注釈

コントローラーのアクション内のパラメーターにデータ分類属性で注釈が付けされておらず、このマップに見つからない場合は、 のように Unknown編集されます。 パラメーターを編集しない場合は、 として Noneマークします。

適用対象