LogValuesFormatter クラス

定義

注意事項

This type is retained only for compatibility. The recommended alternative is the Microsoft.Extensions.Diagnostics.Testing package.

{NamedformatItem} などの名前付き書式項目を Format(IFormatProvider, String, Object) 形式に変換するフォーマッタ。

public ref class LogValuesFormatter
[System.Obsolete("This type is retained only for compatibility. The recommended alternative is the Microsoft.Extensions.Diagnostics.Testing package.", true)]
public class LogValuesFormatter
[<System.Obsolete("This type is retained only for compatibility. The recommended alternative is the Microsoft.Extensions.Diagnostics.Testing package.", true)>]
type LogValuesFormatter = class
Public Class LogValuesFormatter
継承
LogValuesFormatter
属性

コンストラクター

名前 説明
LogValuesFormatter(String)
古い.

LogValuesFormatter クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
OriginalFormat
古い.

元の書式指定文字列を取得します。

ValueNames
古い.

名前付き書式パラメーター名の一覧を取得します。

メソッド

名前 説明
Equals(Object)
古い.

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
Format(Object[])
古い.

書式指定文字列を使用して、指定された値を書式設定します。

GetHashCode()
古い.

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()
古い.

現在のインスタンスの Type を取得します。

(継承元 Object)
GetValue(Object[], Int32)
古い.

指定したインデックス位置にある書式項目のキーと値のペアを取得します。

GetValues(Object[])
古い.

すべての書式項目のキーと値のペアの列挙可能な値を取得します。

MemberwiseClone()
古い.

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()
古い.

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象